openwrt/package/base-files/files/lib
Matthias Schiffer b2adb9a7b5
base-files: sysupgrade cleanup
Some functions only used by stage2 are moved there from common.sh.

One piece that could still use more cleanup is platform_pre_upgrade: many
targets reference files from there are aren't available in the ramfs, so
we need to evaluate it before the switch; conversely, flash writes happen
in that function on some targets. Targets that do the latter should be
fixed eventually to use platform_do_upgrade for that purpose.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-05-29 23:50:33 +02:00
..
functions base-files: add led functions to uci-defaults.sh 2017-05-14 21:45:50 +02:00
preinit base-files: don't overwrite model name set by target 2017-01-30 08:55:41 +01:00
upgrade base-files: sysupgrade cleanup 2017-05-29 23:50:33 +02:00
functions.sh base-files: add generic board_name function to functions.sh 2017-03-22 11:43:21 +01:00