]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
dhcp: dhcpd.service: /etc/default/dhcpd.conf is optional
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 9 Nov 2015 22:18:25 +0000 (23:18 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 9 Nov 2015 22:18:25 +0000 (23:18 +0100)
The environment file is for optional customization, so don't error out if it
isn't present.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dhcp/dhcpd.service

index 7b265cbf3fa6456d34de0e4f5cbe71f63fee2a37..d58fbd5d05979a95814ef85a76767daef0cf82f3 100644 (file)
@@ -7,7 +7,7 @@ Type=forking
 PIDFile=/run/dhcpd.pid
 ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $INTERFACES
 KillSignal=SIGINT
-EnvironmentFile=/etc/default/dhcpd.conf
+EnvironmentFile=-/etc/default/dhcpd.conf
 
 [Install]
 WantedBy=multi-user.target