firmware/src/packages/fff
Fabian Bläse 1c3328e64a Remove static configuration from dynamic script
Most of the configuration done in configurenetwork is static and does
not change after the first boot. Move this static configuration into a
uci-defaults script, which is only executed on first boot.

Configuration which might be changed at runtime (e.g. port assignment),
is kept in the configurenetwork script.

To improve readability and speed, combine multiple uci commands into a
uci batch. Drop any existing network configuration before applying our
own configuration. This requires the network.globals section to be
created explicitly. Also, the fdff:: addresses, ETHMESHMAC and ROUTERMAC
can be set unconditionally, as the uci-defaults script is only executed
once. Other than that, the static configuration has not been altered.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
2022-03-05 18:18:00 +01:00
..
alfred-json treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-alfred treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-alfred-monitoring-proxy treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-babeld treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-batman-adv treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-boardname treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-config treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-dhcp treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-fastd treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-firewall treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-hoods treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-hoodutils treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-layer3 treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-layer3-config treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-layer3-snat treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-macnock Unify package URL in fff-packages 2021-11-10 13:42:03 +01:00
fff-mqtt treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-mqtt-monitoring treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-network Remove static configuration from dynamic script 2022-03-05 18:18:00 +01:00
fff-node treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-nodewatcher Unify package URL in fff-packages 2021-11-10 13:42:03 +01:00
fff-ra treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-random treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-simple-tc treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-support treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-sysupgrade treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-timeserver treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-uradvd fff-uradvd: Add reload trigger for network 2022-03-05 18:17:25 +01:00
fff-vpn-select treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-vxlan-node-vpn treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-hood treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-mqtt treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-ui treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-wireguard treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-wireless OpenWrt: bump to v21.02.2 2022-03-05 18:09:49 +01:00