blob: 147cc3ba3fbf57466600c8e36a0a0fe03347f127 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/ksh
#
# $OpenBSD: dhcpd,v 1.4 2022/10/10 12:07:53 kn Exp $
daemon="/usr/sbin/dhcpd"
. /etc/rc.d/rc.subr
rc_configtest() {
# use rc_exec here since daemon_flags may contain arguments with spaces
rc_exec "${daemon} -n ${daemon_flags}"
}
rc_reload=NO
rc_pre() {
touch /var/db/dhcpd.leases
}
rc_cmd $1
|