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

6 lines
126 B
Bash

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