summaryrefslogtreecommitdiffstats
path: root/package/soloscli/files
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-17 22:45:58 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-17 22:45:58 +0000
commit4f2090ad48927532f42272c92c874cc370fc349b (patch)
tree405d52924fbc92967e8681bcca5e9c17d35aab8c /package/soloscli/files
parent7e317f44dfece68398538581f41ddf7f7d4f14b1 (diff)
[kernel] move lots of kernel related packages to the new system/ folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33830 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/soloscli/files')
-rw-r--r--package/soloscli/files/etc/hotplug.d/atm/15-solos-init26
-rw-r--r--package/soloscli/files/etc/uci-default/solos15
-rw-r--r--package/soloscli/files/solos-log-stats19
3 files changed, 0 insertions, 60 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 36d13ea5a..000000000
--- 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 7f69da62c..000000000
--- 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__
diff --git a/package/soloscli/files/solos-log-stats b/package/soloscli/files/solos-log-stats
deleted file mode 100644
index 2b75ee30c..000000000
--- a/package/soloscli/files/solos-log-stats
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-cd /sys/class/atm/ || exit 1
-
-for PORT in solos-pci* ; do
-
- RXRATE=`cat $PORT/parameters/RxBitRate`
- TXRATE=`cat $PORT/parameters/TxBitRate`
- RXSNR=`cat $PORT/parameters/LocalSNRMargin | sed "s/ dB//"`
- TXSNR=`cat $PORT/parameters/RemoteSNRMargin | sed "s/ dB//"`
- RXERR=`cat $PORT/parameters/RSUnCorrectedErrorsDn`
- TXERR=`cat $PORT/parameters/RSUnCorrectedErrorsUp`
- RXFEC=`cat $PORT/parameters/RSCorrectedErrorsDn`
- TXFEC=`cat $PORT/parameters/RSCorrectedErrorsUp`
-
- echo "$RXRATE $RXSNR $RXERR $RXFEC / $TXRATE $TXSNR $TXERR $TXFEC" |
- logger -t $PORT
-done
-