summaryrefslogtreecommitdiffstats
path: root/package/soloscli/files/etc/hotplug.d/atm/15-solos-init
diff options
context:
space:
mode:
Diffstat (limited to 'package/soloscli/files/etc/hotplug.d/atm/15-solos-init')
-rw-r--r--package/soloscli/files/etc/hotplug.d/atm/15-solos-init26
1 files changed, 0 insertions, 26 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