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