diff options
Diffstat (limited to 'package/admswconfig/files/admswswitch.sh')
-rw-r--r-- | package/admswconfig/files/admswswitch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/admswconfig/files/admswswitch.sh b/package/admswconfig/files/admswswitch.sh index 32a60a8..984d7ee 100644 --- a/package/admswconfig/files/admswswitch.sh +++ b/package/admswconfig/files/admswswitch.sh @@ -4,7 +4,9 @@ setup_switch_vlan() { config_get ports "$CONFIG_SECTION" "eth$1" ports=`echo "$ports"| sed s/" "/""/g` + ifconfig eth$1 down admswconfig eth$1 ${ports}c + ifconfig eth$1 up } setup_switch() { |