summaryrefslogtreecommitdiff
path: root/etc/rc.d/iscsid
blob: 831cbb64e5e7636661432155ad94711b9cc32750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/ksh
#
# $OpenBSD: iscsid,v 1.2 2018/01/11 19:52:12 rpe 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