void-packages/srcpkgs/dhcp/files/dhcpd4/run

4 lines
116 B
Bash

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