openwrt/package/base-files/files/sbin
Sven Eckelmann 234b893a18 base-files: Reintroduce sysupgrade_pre_upgrade hook
The sysupgrade_pre_upgrade hook was removed with 6a27c2f4b1 ("base-files:
drop fwtool_pre_upgrade") while there were still scripts using it:

* target/linux/ar71xx/base-files/lib/upgrade/allnet.sh
* target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
* target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh

Not running the hooks can either prevent a successful upgrade or brick the
device because the fw_setenv program cannot be started correctly.

Fixes: 6a27c2f4b1 ("base-files: drop fwtool_pre_upgrade")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
2018-10-07 16:42:05 +02:00
..
firstboot base-files: firstboot: pass down arguments such as -y to jffs2reset 2015-03-10 23:43:25 +00:00
hotplug-call base-files: honor CONFIG_TARGET_INIT_PATH 2016-02-08 14:28:50 +00:00
led.sh scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00
sysupgrade base-files: Reintroduce sysupgrade_pre_upgrade hook 2018-10-07 16:42:05 +02:00
urandom_seed base-files: use procd init for urandom_seed 2016-07-27 01:24:54 +02:00
wifi base-files: Added a deprecation notice on wifi detect 2017-02-13 10:24:32 +01:00