summaryrefslogtreecommitdiff
path: root/etc/rc.d/iscsid
blob: ab26cd1e39717f25e7b59976cee10682429ffb1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/ksh
#
# $OpenBSD: iscsid,v 1.3 2022/05/21 12:42:21 ajacoutot Exp $

daemon="/usr/sbin/iscsid"
control="/usr/sbin/iscsictl"

. /etc/rc.d/rc.subr

rc_reload=NO
rc_stop=NO

rc_start() {
	rc_exec "${daemon} ${daemon_flags} && ${control} reload"
}

rc_cmd $1