summaryrefslogtreecommitdiff
path: root/openwrt/package/linux-atm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/linux-atm/Makefile')
-rw-r--r--openwrt/package/linux-atm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/linux-atm/Makefile b/openwrt/package/linux-atm/Makefile
index d36c7c39e3..3c7bf9c5b5 100644
--- a/openwrt/package/linux-atm/Makefile
+++ b/openwrt/package/linux-atm/Makefile
@@ -63,8 +63,8 @@ $(IPKG_LINUX_ATM):
$(IPKG_BR2684CTL):
install -d -m0755 $(IDIR_BR2684CTL)/usr/sbin
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/br2684ctl $(IDIR_BR2684CTL)/usr/sbin/
- install -d -m0755 $(IDIR_BR2684CTL)/etc/init.d
- install -m0755 ./files/br2684.init $(IDIR_BR2684CTL)/etc/init.d/S30br2684
+ install -d -m0755 $(IDIR_BR2684CTL)/etc/hotplug.d/net
+ install -m0644 ./files/br2684.init $(IDIR_BR2684CTL)/etc/hotplug.d/net/30-br2684
$(RSTRIP) $(IDIR_BR2684CTL)/
$(IPKG_BUILD) $(IDIR_BR2684CTL) $(PACKAGE_DIR)