aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/linux-atm/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-12-04 17:44:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-12-04 17:44:00 +0000
commit754b8de44d9866ab4c6ffbf42ebcd564ece94a66 (patch)
tree58bf2c5d67d1788b4d289031912f9ff69a412012 /package/network/utils/linux-atm/Makefile
parent93b848d14fa1cbc18332c6d2f485b1c1ea7ac96d (diff)
downloadmaster-187ad058-754b8de44d9866ab4c6ffbf42ebcd564ece94a66.tar.gz
master-187ad058-754b8de44d9866ab4c6ffbf42ebcd564ece94a66.tar.bz2
master-187ad058-754b8de44d9866ab4c6ffbf42ebcd564ece94a66.zip
br2684ctl: convert init script to procd, add hotplug/reload support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47765 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/linux-atm/Makefile')
-rw-r--r--package/network/utils/linux-atm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/utils/linux-atm/Makefile b/package/network/utils/linux-atm/Makefile
index d9402c3c16..51e604c0bb 100644
--- a/package/network/utils/linux-atm/Makefile
+++ b/package/network/utils/linux-atm/Makefile
@@ -178,8 +178,9 @@ define Package/atm-diagnostics/install
endef
define Package/br2684ctl/install
- $(INSTALL_DIR) $(1)/etc/init.d/
+ $(INSTALL_DIR) $(1)/etc/init.d $(1)/etc/hotplug.d/atm
$(INSTALL_BIN) ./files/br2684ctl $(1)/etc/init.d/
+ $(INSTALL_DATA) ./files/atm.hotplug $(1)/etc/hotplug.d/atm/00-trigger
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/br2684ctl $(1)/usr/sbin/
endef