mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[package] admswconfig: reset interface after applying config
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25173 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
edb55f44e8
commit
1301aa5fe9
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user