void-packages/srcpkgs/dhcp/files/dhcpd6/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:=-6 -q -pf /run/dhcpd6.pid}