aboutsummaryrefslogtreecommitdiffstats
path: root/package/admswconfig/files/admswswitch.sh
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-03-18 03:16:32 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-03-18 03:16:32 +0000
commit3355ac213dc0927bb1768fde5a1b7b768027312d (patch)
treea028ab0871dcbb6b0a6e3c7019e375bf88bd9807 /package/admswconfig/files/admswswitch.sh
parente28a34e2b0913548194dfe7716af27c2823929ea (diff)
downloadmaster-187ad058-3355ac213dc0927bb1768fde5a1b7b768027312d.tar.gz
master-187ad058-3355ac213dc0927bb1768fde5a1b7b768027312d.tar.bz2
master-187ad058-3355ac213dc0927bb1768fde5a1b7b768027312d.zip
fix broken init file and some cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/admswconfig/files/admswswitch.sh')
-rw-r--r--package/admswconfig/files/admswswitch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/admswconfig/files/admswswitch.sh b/package/admswconfig/files/admswswitch.sh
index c5898d5a39..32a60a82bf 100644
--- a/package/admswconfig/files/admswswitch.sh
+++ b/package/admswconfig/files/admswswitch.sh
@@ -3,6 +3,7 @@
setup_switch_vlan() {
config_get ports "$CONFIG_SECTION" "eth$1"
+ ports=`echo "$ports"| sed s/" "/""/g`
admswconfig eth$1 ${ports}c
}