projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bcm53xx: add Cisco Meraki MR32
[openwrt/openwrt.git]
/
target
/
linux
/
bcm53xx
/
base-files
/
lib
/
preinit
/
07_set_preinit_iface_bcm53xx
1
set_preinit_iface() {
2
. /lib/functions.sh
3
4
case $(board_name) in
5
meraki,mr32)
6
# switch needs to be out of the vlan mode.
7
swconfig dev switch0 set reset 1
8
swconfig dev switch0 set enable_vlan 0
9
swconfig dev switch0 set apply 1
10
;;
11
esac
12
}
13
14
boot_hook_add preinit_main set_preinit_iface