artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dd72aa
)
rc.d script for iscsid.
author
claudio
<claudio@openbsd.org>
Sun, 13 Jul 2014 12:07:11 +0000
(12:07 +0000)
committer
claudio
<claudio@openbsd.org>
Sun, 13 Jul 2014 12:07:11 +0000
(12:07 +0000)
etc/rc.d/iscsid
[new file with mode: 0644]
patch
|
blob
diff --git a/etc/rc.d/iscsid
b/etc/rc.d/iscsid
new file mode 100644
(file)
index 0000000..
6905f4d
--- /dev/null
+++ b/
etc/rc.d/iscsid
@@ -0,0
+1,17
@@
+#!/bin/sh
+#
+# $OpenBSD: iscsid,v 1.1 2014/07/13 12:07:11 claudio Exp $
+
+daemon="/usr/sbin/iscsid"
+control="/usr/sbin/iscsictl"
+
+. /etc/rc.d/rc.subr
+
+rc_reload=NO
+rc_stop=NO
+
+rc_start() {
+ ${rcexec} "${daemon} ${daemon_flags} && ${control} reload"
+}
+
+rc_cmd $1