openbsd-ports/net/ipcad/pkg/ipcad.rc
sthen 87e670e33e update ipcad to 3.7.3 and add rc.d script
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
2011-06-06 08:34:57 +00:00

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