From d1c117a8efc07f87ef185ee90843ca10bb2343cd Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 13 Feb 2011 02:52:49 +0000 Subject: soloscli: allow user to apply settings to solos h/w before bringing up network (patch by Philip Prindeville) If the network/wan configuration contains "solos0" ... "solos3" then this list of strings will be applied to the FPGA when the hardware is hotplug added. The syntax should be "tag=value", as per the values enumerated in the solos-attr.c list. In the canned example, the modem is temporarily turned off, told to detect noise, told to disable annexes M and A (effectively putting it into pure ADSL mode), and re-activated. There's probably a more appropriate function name than "dialog" but that's what I came up with. Handle other ATM hardware (Eagle, etc) besides solos-pci. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25510 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/soloscli/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/soloscli/Makefile') diff --git a/package/soloscli/Makefile b/package/soloscli/Makefile index 611dbcc08f..1c2d998090 100644 --- a/package/soloscli/Makefile +++ b/package/soloscli/Makefile @@ -37,6 +37,8 @@ endef define Package/soloscli/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/soloscli/soloscli $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/etc/hotplug.d/atm + $(INSTALL_DATA) ./files/etc/hotplug.d/atm/15-solos-init $(1)/etc/hotplug.d/atm/ endef $(eval $(call BuildPackage,soloscli)) -- cgit v1.2.3