diff options
author | John Crispin <john@openwrt.org> | 2012-10-17 22:45:58 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-10-17 22:45:58 +0000 |
commit | a34499e09569241a21203c1327f3bfa8a888584f (patch) | |
tree | 9365698437d0b2ef8cfe715d9c9e8d5434d63353 /package/soloscli/files/etc | |
parent | 965710d3e17738006bb22f01584cfe56319ceac1 (diff) | |
download | mtk-20170518-a34499e09569241a21203c1327f3bfa8a888584f.zip mtk-20170518-a34499e09569241a21203c1327f3bfa8a888584f.tar.gz mtk-20170518-a34499e09569241a21203c1327f3bfa8a888584f.tar.bz2 |
move lots of kernel related packages to the new system/ folder
SVN-Revision: 33830
Diffstat (limited to 'package/soloscli/files/etc')
-rw-r--r-- | package/soloscli/files/etc/hotplug.d/atm/15-solos-init | 26 | ||||
-rw-r--r-- | package/soloscli/files/etc/uci-default/solos | 15 |
2 files changed, 0 insertions, 41 deletions
diff --git a/package/soloscli/files/etc/hotplug.d/atm/15-solos-init b/package/soloscli/files/etc/hotplug.d/atm/15-solos-init deleted file mode 100644 index 36d13ea..0000000 --- a/package/soloscli/files/etc/hotplug.d/atm/15-solos-init +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -dialog() { - local tag="$(echo "$1" | cut -d= -f1)" - local value="$(echo "$1" | cut -d= -f2-)" - local response - - response="$(soloscli -s "$port" "$tag" "$value")" - [ $? -ne 0 ] && { - logger "soloscli($port): $tag '$value' returns $response" - } -} - -if [ "$ACTION" = "add" ]; then - include /lib/network - scan_interfaces - - case $DEVICENAME in - solos-pci[0-3]) - port="${DEVICENAME#solos-pci}" - device="solos${port}" - - config_list_foreach wan "$device" dialog - ;; - esac -fi diff --git a/package/soloscli/files/etc/uci-default/solos b/package/soloscli/files/etc/uci-default/solos deleted file mode 100644 index 7f69da6..0000000 --- a/package/soloscli/files/etc/uci-default/solos +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -uci batch <<__EOF__ - -delete network.wan.solos0 - -add_list network.wan.solos0="ActivateLine=Abort" -add_list network.wan.solos0="Retrain=EnableAll" -add_list network.wan.solos0="DetectNoise=Enable" -add_list network.wan.solos0="BisMCapability=Disable" -add_list network.wan.solos0="BisACapability=Disable" -add_list network.wan.solos0="ActivateLine=Start" - -commit network -__EOF__ |