void-packages/srcpkgs/dhcp/files/dhcpd4/run
2016-02-11 00:19:56 -05:00

5 lines
140 B
Bash
Executable file

#!/bin/sh
[ -r conf ] && . ./conf
mkdir -p /var/lib/dhcp/
touch /var/lib/dhcp/dhcpd.leases
exec dhcpd -f ${OPTS:=-4 -q -pf /run/dhcpd4.pid}