summaryrefslogtreecommitdiff
path: root/etc/rc.d/iscsid
blob: 6905f4dbc7085bb5482e4d00fc7cea66d2ea9c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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