1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 15:25:38 -08:00
openbsd-src/etc/rc.d/iscsid
2022-05-21 12:42:21 +00:00

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