mirror of
https://github.com/openbsd/src.git
synced 2025-01-04 15:25:38 -08:00
18 lines
261 B
Bash
18 lines
261 B
Bash
#!/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
|