openwrt/package/base-files/files/lib
Daniel Golle bb107ad9c1
base-files: functions: introduce new helper functions
Introduce cmdline_get_var() to /lib/function.sh and make use of it in
export_rootdev() in /lib/upgrade/common.sh, making the code more
simple and removing one level of indentation.
Introduce get_partition_by_name() to /lib/upgrade/common.sh which is
useful on non-EFI GPT platforms like mt7622.
Remove some dead-code while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-31 16:53:39 +01:00
..
functions treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
preinit base-files: add support for restoring config from tmpfs 2021-02-28 00:09:09 +00:00
upgrade base-files: functions: introduce new helper functions 2021-03-31 16:53:39 +01:00
functions.sh base-files: functions: introduce new helper functions 2021-03-31 16:53:39 +01:00