projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: use a dummy callback for interfaces with fixed speed
[openwrt.git]
/
package
/
admswconfig
/
files
/
admswswitch.sh
diff --git
a/package/admswconfig/files/admswswitch.sh
b/package/admswconfig/files/admswswitch.sh
index
c5898d5
..
984d7ee
100644
(file)
--- a/
package/admswconfig/files/admswswitch.sh
+++ b/
package/admswconfig/files/admswswitch.sh
@@
-3,7
+3,10
@@
setup_switch_vlan() {
config_get ports "$CONFIG_SECTION" "eth$1"
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.025033 seconds
and
4
git commands to generate.