summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/dhcp/S80dhcp-server2
-rw-r--r--package/dhcp/dhcpd.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/dhcp/S80dhcp-server b/package/dhcp/S80dhcp-server
index 356e73565a..06b7ab1d9f 100755
--- a/package/dhcp/S80dhcp-server
+++ b/package/dhcp/S80dhcp-server
@@ -8,7 +8,7 @@
INTERFACES=""
# Allow a few customizations from a config file
-test -r /etc/default/dhcpd.conf && . /etc/default/dhcpd.conf
+test -r /etc/default/dhcpd && . /etc/default/dhcpd
# Sanity checks
test -f /usr/sbin/dhcpd || exit 0
diff --git a/package/dhcp/dhcpd.service b/package/dhcp/dhcpd.service
index d58fbd5d05..a05deb878f 100644
--- a/package/dhcp/dhcpd.service
+++ b/package/dhcp/dhcpd.service
@@ -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
[Install]
WantedBy=multi-user.target
OpenPOWER on IntegriCloud