openbsd-ports/net/isc-dhcp/pkg/isc_dhcpd.rc
rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00

17 lines
245 B
Bash

#!/bin/ksh
#
# $OpenBSD: isc_dhcpd.rc,v 1.3 2018/01/11 19:27:06 rpe Exp $
daemon="${TRUEPREFIX}/sbin/dhcpd"
daemon_flags="-user _isc-dhcp -group _isc-dhcp"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_pre() {
touch /var/db/dhcpd.leases
}
rc_cmd $1