void-packages/srcpkgs/dhcp/files/dhcpd4/run
Colin Booth 34d507072d dhcp: add basic logging functionality
vlogger should properly set tag and facility identically to logger if
you don't set anything special so it shoud be entirely safe to simply
exec straight into vlogger without explicitly setting those flags.

Fixes #25558
2021-06-13 14:11:19 -03:00

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