firmware/src/packages/fff
Christian Dresel 38e7dc18e0 fff-layer3: Autoconfigure layer3 Router after update
This adds a script to init.d to automatically call
the appropriate configure-layer3 commands after an upgrade,
so the configuration of the device is restored.

The changes are applied if configure-layer3 is successful.
Otherwise, they are reverted. Due to this, no additional checks for
the configuration are necessary: The configure-layer3 script
will fail if the config version is wrong or no configuration exists at all.

After executing the script destroys itself. With START=99,
the execution happens _after_ uci-defaults and configurenetwork,
and no interference is expected.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
[convert to init.d, extend commit message, rebase]
Signed-off-by: Christian Dresel <freifunk@dresel.systems>
2020-12-28 17:30:44 +01:00
..
alfred-json alfred-json: Set PKG_VERSION to latest official version 2019-07-01 21:37:23 +02:00
fff packages/fff: rename fff-gateway to fff-layer3 2020-12-17 15:38:28 +01:00
fff-alfred treewide: add "exit 0" for uci-defaults files 2020-04-23 12:00:17 +02:00
fff-alfred-monitoring-proxy alfred-proxy: Make curl silent 2020-06-18 12:22:22 +02:00
fff-babeld packages/fff: move config scripts to fff-layer3-config 2020-12-17 15:38:20 +01:00
fff-batman-adv treewide: add "exit 0" for uci-defaults files 2020-04-23 12:00:17 +02:00
fff-boardname treewide: move devices from ar71xx to ath79 2020-06-18 12:41:03 +02:00
fff-config treewide: add "exit 0" for uci-defaults files 2020-04-23 12:00:17 +02:00
fff-dhcp packages/fff: move config scripts to fff-layer3-config 2020-12-17 15:38:20 +01:00
fff-fastd treewide: add "exit 0" for uci-defaults files 2020-04-23 12:00:17 +02:00
fff-firewall fff-firewall: Remove ssh firewall on WAN interface 2020-09-15 13:05:49 +02:00
fff-hoods packages/fff: remove whitespace from package TITLE 2020-12-13 14:40:53 +01:00
fff-hoodutils packages/fff: remove whitespace from package TITLE 2020-12-13 14:40:53 +01:00
fff-layer3 packages/fff: rename fff-gateway to fff-layer3 2020-12-17 15:38:28 +01:00
fff-layer3-config fff-layer3: Autoconfigure layer3 Router after update 2020-12-28 17:30:44 +01:00
fff-macnock packages/fff: remove whitespace from package TITLE 2020-12-13 14:40:53 +01:00
fff-network packages/fff: remove whitespace from package TITLE 2020-12-13 14:40:53 +01:00
fff-node packages/fff: Merge meta packages for variants into config packages 2019-11-17 15:48:50 +01:00
fff-nodewatcher packages/fff: remove whitespace from package TITLE 2020-12-13 14:40:53 +01:00
fff-ra treewide: add "exit 0" for uci-defaults files 2020-04-23 12:00:17 +02:00
fff-random packages/fff: Only use PKG_RELEASE for our own packages 2019-07-01 21:54:09 +02:00
fff-simple-tc treewide: add "exit 0" for uci-defaults files 2020-04-23 12:00:17 +02:00
fff-support treewide: add "exit 0" for uci-defaults files 2020-04-23 12:00:17 +02:00
fff-sysupgrade treewide: add "exit 0" for uci-defaults files 2020-04-23 12:00:17 +02:00
fff-timeserver fff-timeserver: remove -q from uci and drop unused library source 2020-05-05 13:44:30 +02:00
fff-uradvd packages/fff: remove whitespace from package TITLE 2020-12-13 14:40:53 +01:00
fff-vpn-select packages/fff: remove whitespace from package TITLE 2020-12-13 14:40:53 +01:00
fff-web packages/fff: remove whitespace from package TITLE 2020-12-13 14:40:53 +01:00
fff-wireguard packages/fff: move config scripts to fff-layer3-config 2020-12-17 15:38:20 +01:00
fff-wireless packages/fff: move config scripts to fff-layer3-config 2020-12-17 15:38:20 +01:00