summaryrefslogtreecommitdiffstats
path: root/package/dhcp/S80dhcp-server
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2014-08-04 20:19:03 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-04 21:31:30 +0200
commit4449da18d45ea96423914507b996b22f1a23118d (patch)
tree82f68b00bd31bbedcdbcb3cf0587d47fa036a31c /package/dhcp/S80dhcp-server
parent02012d337323da261654bc6fbb1a8bd8b8da2543 (diff)
downloadbuildroot-4449da18d45ea96423914507b996b22f1a23118d.tar.gz
buildroot-4449da18d45ea96423914507b996b22f1a23118d.zip
dhcp: Fix config files paths
The built dhcp binaries and the installed startup scripts used configuration files under /etc/, but the configuration files were installed under /etc/dhcp/. Fix everything to have configuration files under /etc/dhcp/. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dhcp/S80dhcp-server')
-rwxr-xr-xpackage/dhcp/S80dhcp-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dhcp/S80dhcp-server b/package/dhcp/S80dhcp-server
index 98bd3cc67e..5280c31008 100755
--- a/package/dhcp/S80dhcp-server
+++ b/package/dhcp/S80dhcp-server
@@ -9,7 +9,7 @@ INTERFACES=""
# Sanity checks
test -f /usr/sbin/dhcpd || exit 0
-test -f /etc/dhcpd.conf || exit 0
+test -f /etc/dhcp/dhcpd.conf || exit 0
test -n "$INTERFACES" || exit 0
case "$1" in
OpenPOWER on IntegriCloud