Browse Source

rc.d script for iscsid.

OPENBSD_5_6
claudio 10 years ago
parent
commit
1368d9b148
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      src/etc/rc.d/iscsid

+ 17
- 0
src/etc/rc.d/iscsid View File

@ -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

Loading…
Cancel
Save