base-files: preinit: also config switch when no port roles defined
current preinit code in base-files doesn't config switch when there are no port roles defined. But this kind of configuration exists on single port devices where switch vlan is simply disabled. configure reset and enable_vlan property when a switch node exist. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>master
parent
605a7ffff2
commit
f017f617ae
Loading…
Reference in New Issue