From: Benoît Thébaudeau Date: Sun, 25 Oct 2015 00:59:30 +0000 (+0200) Subject: package/dhcp: systemd: support extra options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b998c876c32e6ea7d15a10544db02ecb9e700183;p=buildroot.git package/dhcp: systemd: support extra options Add an OPTIONS configuration variable in order to make it possible to pass custom extra options to dhcpd. This keeps the systemd support consistent with the SysV init script. Signed-off-by: Benoît Thébaudeau Reviewed-by: "Maxime Hadjinlian" Signed-off-by: Thomas Petazzoni --- diff --git a/package/dhcp/dhcpd.service b/package/dhcp/dhcpd.service index a05deb878f..98cc54b05b 100644 --- a/package/dhcp/dhcpd.service +++ b/package/dhcp/dhcpd.service @@ -5,7 +5,7 @@ After=network.target [Service] Type=forking PIDFile=/run/dhcpd.pid -ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $INTERFACES +ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $OPTIONS $INTERFACES KillSignal=SIGINT EnvironmentFile=-/etc/default/dhcpd