Commit 6f81baaf authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

dhcp: read /etc/default/dhcpd, not /etc/default/dhcpd.conf



All daemons that read a file from /etc/default/ have it named just
after the name of daemon, without any extension. This commit fixes the
dhcp package to do the same.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent c4486e8c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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