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

6 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}