Villeneuve wrote:/rom/etc/uci-defaults
Tried to execute relevant scripts, they didnt do the trick
root@OpenWRT:~# grep -r network /rom/etc/uci-defaults/
/rom/etc/uci-defaults/03_network-switchX-migration: uci_set network "$config" $option $newname
/rom/etc/uci-defaults/03_network-switchX-migration: config_load network
/rom/etc/uci-defaults/03_network-switchX-migration: logger -t migrate-switchX "Updating switch names in network configuration"
/rom/etc/uci-defaults/03_network-switchX-migration: logger -t migrate-switchX "Switch names updated, saving network configuration"
/rom/etc/uci-defaults/03_network-switchX-migration: uci commit network
/rom/etc/uci-defaults/03_network-vlan-migration:local dev="$(uci -q get network.@switch_vlan[0].device)"
/rom/etc/uci-defaults/03_network-vlan-migration:local vlan="$(uci -q get network.@switch_vlan[0].vlan)"
/rom/etc/uci-defaults/03_network-vlan-migration: uci set network.@switch_vlan[0].vlan=1
/rom/etc/uci-defaults/03_network-vlan-migration: uci commit network
/rom/etc/uci-defaults/12_network-generate-ula:[ "$(uci -q get network.globals.ula_prefix)" != "auto" ] && exit 0
/rom/etc/uci-defaults/12_network-generate-ula: set network.globals.ula_prefix=fd$r1:$r2:$r3::/48
/rom/etc/uci-defaults/12_network-generate-ula: commit network
root@OpenWRT:~# sh /rom/etc/uci-defaults/03_network-switchX-migration
root@OpenWRT:~# uci show network
root@OpenWRT:~# sh /rom/etc/uci-defaults/03_network-vlan-migration
root@OpenWRT:~# uci show network
root@OpenWRT:~#