revert bad firewall patch
[openwrt.git] / openwrt / package / ez-ipupdate / Makefile
index fd1a971..66a25d9 100644 (file)
@@ -46,8 +46,11 @@ $(PKG_BUILD_DIR)/.built:
        touch $@
 
 $(IPKG_EZIPUPDATE):
-       mkdir -p $(IDIR_EZIPUPDATE)/usr/sbin 
-       cp $(PKG_BUILD_DIR)/ez-ipupdate $(IDIR_EZIPUPDATE)/usr/sbin/
+       install -m0755 -d $(IDIR_EZIPUPDATE)/etc/init.d $(IDIR_EZIPUPDATE)/etc/hotplug.d/iface $(IDIR_EZIPUPDATE)/usr/sbin/
+       install -m0755 $(PKG_BUILD_DIR)/ez-ipupdate $(IDIR_EZIPUPDATE)/usr/sbin/
+       install -m0755 files/$(PKG_NAME).init $(IDIR_EZIPUPDATE)/etc/init.d/S80$(PKG_NAME)
+       install -m0755 files/$(PKG_NAME).conf $(IDIR_EZIPUPDATE)/etc/
+       install -m0755 files/$(PKG_NAME).hotplug $(IDIR_EZIPUPDATE)/etc/hotplug.d/iface/15-$(PKG_NAME)
        $(STRIP) $(IDIR_EZIPUPDATE)/usr/sbin/*
        $(IPKG_BUILD) $(IDIR_EZIPUPDATE) $(PACKAGE_DIR)
 
This page took 0.02349 seconds and 4 git commands to generate.