dhcp: install dhclient to /sbin
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 18 Nov 2014 17:01:53 +0000 (14:01 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Nov 2014 22:57:09 +0000 (23:57 +0100)
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>
package/dhcp/dhcp.mk

index 27fb60b749be610ee9626825d33217f07fa044de..1eb6b325497f44c4dc988010416ee0e65ccf20dd 100644 (file)
@@ -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 \