summaryrefslogtreecommitdiff
path: root/package/soloscli/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-13 02:52:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-13 02:52:49 +0000
commitabfe2f1bc2b0b34eee71764111b5e88ad6a7409e (patch)
tree567c284a9fafab396c07edaa4b207155af11be20 /package/soloscli/Makefile
parent404fbd8c66826b4b15de36c88b331fd2350dc132 (diff)
downloadmtk-20170518-abfe2f1bc2b0b34eee71764111b5e88ad6a7409e.zip
mtk-20170518-abfe2f1bc2b0b34eee71764111b5e88ad6a7409e.tar.gz
mtk-20170518-abfe2f1bc2b0b34eee71764111b5e88ad6a7409e.tar.bz2
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. SVN-Revision: 25510
Diffstat (limited to 'package/soloscli/Makefile')
-rw-r--r--package/soloscli/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/soloscli/Makefile b/package/soloscli/Makefile
index 611dbcc..1c2d998 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))