diff options
author | Travis Kemen <thepeople@openwrt.org> | 2008-03-18 03:16:32 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2008-03-18 03:16:32 +0000 |
commit | 3355ac213dc0927bb1768fde5a1b7b768027312d (patch) | |
tree | a028ab0871dcbb6b0a6e3c7019e375bf88bd9807 /package/admswconfig/files/admswswitch.sh | |
parent | e28a34e2b0913548194dfe7716af27c2823929ea (diff) | |
download | upstream-3355ac213dc0927bb1768fde5a1b7b768027312d.tar.gz upstream-3355ac213dc0927bb1768fde5a1b7b768027312d.tar.bz2 upstream-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.sh | 1 |
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 } |