summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rwxr-xr-xpackage/dhcp/dhclient-script2
-rw-r--r--package/dhcp/dhcp.mk1
2 files changed, 3 insertions, 0 deletions
diff --git a/package/dhcp/dhclient-script b/package/dhcp/dhclient-script
new file mode 100755
index 000000000..5566aca5f
--- /dev/null
+++ b/package/dhcp/dhclient-script
@@ -0,0 +1,2 @@
+#!/bin/sh
+# empty dhclient-script to keep dhclient from complaining
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index b0b491c10..02cf69b59 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -55,6 +55,7 @@ $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY)
(cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp)
$(INSTALL) -m 0755 -D $(DHCP_DIR)/$(DHCP_CLIENT_BINARY) $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY)
$(INSTALL) -m 0644 -D package/dhcp/dhclient.conf $(TARGET_DIR)/etc/dhcp/dhclient.conf
+ $(INSTALL) -m 0755 -D package/dhcp/dhclient-script $(TARGET_DIR)/sbin/dhclient-script
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc