From 510f5a7209fc4d3127c597aeaefbb89fa54b7fe1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 14 Dec 2015 11:02:12 +0000 Subject: linux-atm: add wrapper for br2684ctl to defer nasX device bringup Fixes a race condition on netifd device bringup. Signed-off-by: Felix Fietkau SVN-Revision: 47891 --- package/network/utils/linux-atm/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package/network/utils/linux-atm/Makefile') diff --git a/package/network/utils/linux-atm/Makefile b/package/network/utils/linux-atm/Makefile index 51e604c0bb..9c6cfec95c 100644 --- a/package/network/utils/linux-atm/Makefile +++ b/package/network/utils/linux-atm/Makefile @@ -182,7 +182,10 @@ define Package/br2684ctl/install $(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/ + $(INSTALL_BIN) \ + ./files/br2684ctl_wrap \ + $(PKG_INSTALL_DIR)/usr/sbin/br2684ctl \ + $(1)/usr/sbin/ endef $(eval $(call BuildPackage,linux-atm)) -- cgit v1.2.3