87e670e33e
From Kirill Bychkov with tweaks from me: - set rc_reload - add "@sample /var/ipcad" so you don't need to create it yourself - use "@extraunexec rm -rf /var/ipcad/*" not rm -rf /var/ipcad
13 lines
170 B
Bash
13 lines
170 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: ipcad.rc,v 1.1 2011/06/06 08:34:57 sthen Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/ipcad"
|
|
daemon_flags="-d"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_reload=NO
|
|
|
|
rc_cmd $1
|