aboutsummaryrefslogtreecommitdiff
path: root/package/dhcp/dhcp.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-11-18 14:01:53 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-18 23:57:09 +0100
commit38372fbbef3087d0ebf3ccd8ebd332c2565f95c2 (patch)
tree70cdb1192aab231a111262c575732688a2c245f1 /package/dhcp/dhcp.mk
parent924d832cb46033a0cedb7ec32153ff705ad9f799 (diff)
downloadbuildroot-38372fbbef3087d0ebf3ccd8ebd332c2565f95c2.tar.gz
buildroot-38372fbbef3087d0ebf3ccd8ebd332c2565f95c2.tar.bz2
dhcp: install dhclient to /sbin
Debian ifupdown uses an explicit call to /sbin/dhclient. Busybox ifupdown uses the search path. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dhcp/dhcp.mk')
-rw-r--r--package/dhcp/dhcp.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index 27fb60b749..1eb6b32549 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -59,7 +59,7 @@ define DHCP_INSTALL_CLIENT
mkdir -p $(TARGET_DIR)/var/lib
(cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp)
$(INSTALL) -m 0755 -D $(DHCP_DIR)/client/dhclient \
- $(TARGET_DIR)/usr/sbin/dhclient
+ $(TARGET_DIR)/sbin/dhclient
$(INSTALL) -m 0644 -D package/dhcp/dhclient.conf \
$(TARGET_DIR)/etc/dhcp/dhclient.conf
$(INSTALL) -m 0755 -D package/dhcp/dhclient-script \