Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/init/rc.d/iscsid
Property | Old Value | New Value |
---|---|---|
svn:executable | null | * \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
#!/bin/sh | |||||
# | |||||
# $FreeBSD$ | |||||
# | |||||
# PROVIDE: iscsid | |||||
# REQUIRE: NETWORK | |||||
# BEFORE: DAEMON | |||||
# KEYWORD: nojail | |||||
. /etc/rc.subr | |||||
name="iscsid" | |||||
desc="iSCSI initiator daemon" | |||||
rcvar="iscsid_enable" | |||||
pidfile="/var/run/${name}.pid" | |||||
command="/usr/sbin/${name}" | |||||
required_modules="iscsi" | |||||
load_rc_config $name | |||||
run_rc_command "$1" |