summaryrefslogtreecommitdiff
path: root/openwrt/package/dhcp-forwarder/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-15 13:04:57 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-15 13:04:57 +0000
commit611adf9b7af761ca2a9a781b6f92aa67a2d658b9 (patch)
tree58a7f6589c0a58ebaf90391a2af712f8dbc84ea1 /openwrt/package/dhcp-forwarder/Makefile
parentb117fe7e0361b2513fbbb5075c70fb4a76bb05aa (diff)
downloadmtk-20170518-611adf9b7af761ca2a9a781b6f92aa67a2d658b9.zip
mtk-20170518-611adf9b7af761ca2a9a781b6f92aa67a2d658b9.tar.gz
mtk-20170518-611adf9b7af761ca2a9a781b6f92aa67a2d658b9.tar.bz2
Fix dhcp-forwarder build, move init-script to ./files/
SVN-Revision: 909
Diffstat (limited to 'openwrt/package/dhcp-forwarder/Makefile')
-rw-r--r--openwrt/package/dhcp-forwarder/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/dhcp-forwarder/Makefile b/openwrt/package/dhcp-forwarder/Makefile
index 7b9f238..7da1928 100644
--- a/openwrt/package/dhcp-forwarder/Makefile
+++ b/openwrt/package/dhcp-forwarder/Makefile
@@ -56,10 +56,10 @@ $(PKG_BUILD_DIR)/.built:
touch $(PKG_BUILD_DIR)/.built
$(IPKG_DHCP_FORWARDER):
- install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc/init.d
- install -m0755 ./ipkg/$(PKG_NAME).init $(IDIR_DHCP_FORWARDER)/etc/init.d/dhcp-fwd
install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc
install -m0644 $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(IDIR_DHCP_FORWARDER)/etc/
+ install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc/init.d
+ install -m0755 ./files/dhcp-fwd.init $(IDIR_DHCP_FORWARDER)/etc/init.d/dhcp-fwd
install -m0755 -d $(IDIR_DHCP_FORWARDER)/usr/bin
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(IDIR_DHCP_FORWARDER)/usr/bin/
$(RSTRIP) $(IDIR_DHCP_FORWARDER)