mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-10 16:47:54 +00:00
bcm53xx: remove 07_set_preinit_iface_bcm53xx
with the switch to DSA setup, the switch gets correctly programmed via the device-tree now. This hack is no longer necessary. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
parent
ac2166b135
commit
554ca44730
@ -1,14 +0,0 @@
|
||||
set_preinit_iface() {
|
||||
. /lib/functions.sh
|
||||
|
||||
case $(board_name) in
|
||||
meraki,mr32)
|
||||
# switch needs to be out of the vlan mode.
|
||||
swconfig dev switch0 set reset 1
|
||||
swconfig dev switch0 set enable_vlan 0
|
||||
swconfig dev switch0 set apply 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main set_preinit_iface
|
Loading…
Reference in New Issue
Block a user