ar71xx: add an id argument to ar71xx_add_device_mdio
[openwrt.git] / package / admswconfig / files / admswswitch.sh
index 32a60a8..984d7ee 100644 (file)
@@ -4,7 +4,9 @@
 setup_switch_vlan() {
        config_get ports "$CONFIG_SECTION" "eth$1"
        ports=`echo "$ports"| sed s/" "/""/g`
 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
        admswconfig eth$1 ${ports}c
+       ifconfig eth$1 up
 }
 
 setup_switch() {
 }
 
 setup_switch() {
This page took 0.025164 seconds and 4 git commands to generate.