diff options
author | Bjørn Mork <bjorn@mork.no> | 2021-04-06 11:43:04 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2021-04-08 09:20:59 +0200 |
commit | b7154fabf07e870a204a25d8e74472b57e55b040 (patch) | |
tree | cb56764f8aa2bc6d3234076a36301d120f912455 /package/boot/uboot-envtools/files | |
parent | a3e9fd7e5b365aa2f0b8cc1dc0a2d7cf3daa3e1a (diff) | |
download | upstream-b7154fabf07e870a204a25d8e74472b57e55b040.tar.gz upstream-b7154fabf07e870a204a25d8e74472b57e55b040.tar.bz2 upstream-b7154fabf07e870a204a25d8e74472b57e55b040.zip |
uboot-envtools: add wrapper scripts for alternate config
Now that we can create an alternate configuration file, add two
wrapper scripts for simple access to it using the alternate
alternate application names `fw_printsys' and `fw_setsys'.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'package/boot/uboot-envtools/files')
-rw-r--r-- | package/boot/uboot-envtools/files/fw_printsys | 2 | ||||
-rw-r--r-- | package/boot/uboot-envtools/files/fw_setsys | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/fw_printsys b/package/boot/uboot-envtools/files/fw_printsys new file mode 100644 index 0000000000..0c4c4ab257 --- /dev/null +++ b/package/boot/uboot-envtools/files/fw_printsys @@ -0,0 +1,2 @@ +#!/bin/sh +[ -e /etc/fw_sys.config ] && exec /usr/sbin/fw_printenv -c /etc/fw_sys.config "$@" diff --git a/package/boot/uboot-envtools/files/fw_setsys b/package/boot/uboot-envtools/files/fw_setsys new file mode 100644 index 0000000000..1cdb1a70f7 --- /dev/null +++ b/package/boot/uboot-envtools/files/fw_setsys @@ -0,0 +1,2 @@ +#!/bin/sh +[ -e /etc/fw_sys.config ] && exec /usr/sbin/fw_setenv -c /etc/fw_sys.config "$@" |