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
commit515e65dd5a917ee3350fee965f7a6873935c9172 (patch)
tree45d166c12760387e9df50c143fd261af298100d0 /package/admswconfig/files/admswswitch.sh
parentd650dae3a2e90c1dadc3e577c6e908f4384e956a (diff)
downloadupstream-515e65dd5a917ee3350fee965f7a6873935c9172.tar.gz
upstream-515e65dd5a917ee3350fee965f7a6873935c9172.tar.bz2
upstream-515e65dd5a917ee3350fee965f7a6873935c9172.zip
fix broken init file and some cleanup
SVN-Revision: 10613
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
}