From 38372fbbef3087d0ebf3ccd8ebd332c2565f95c2 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 18 Nov 2014 14:01:53 -0300 Subject: [PATCH] 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 Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/dhcp/dhcp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.30.2