Added rc script for isc-dhcpd on OpenBSD
This commit is contained in:
parent
a0e6c79fab
commit
e0aa5937a5
2 changed files with 29 additions and 1 deletions
14
dhcp/files/isc_dhcpd.rc
Executable file
14
dhcp/files/isc_dhcpd.rc
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
daemon="/usr/local/sbin/dhcpd"
|
||||
daemon_flags="-q"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_pre() {
|
||||
touch /var/db/dhcpd.leases
|
||||
}
|
||||
|
||||
rc_cmd $1
|
Loading…
Add table
Add a link
Reference in a new issue