[openwrt/openwrt] base-files: add logging for configuration import

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 21 21:45:34 GMT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/fdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39

commit fdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Mon Feb 1 10:58:09 2021 +0100

    base-files: add logging for configuration import
    
    Make sysupgrade backup import more verbose.
    
    Signed-off-by: Florian Eckert <fe at dev.tdt.de>
---
 package/base-files/files/sbin/sysupgrade | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 7977b06ef1..7e0a00e13b 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -287,6 +287,7 @@ if [ -n "$CONF_RESTORE" ]; then
 	fi
 
 	[ "$VERBOSE" -gt 1 ] && TAR_V="v" || TAR_V=""
+	v "Restoring config files..."
 	tar -C / -x${TAR_V}zf "$CONF_RESTORE"
 	exit $?
 fi



More information about the lede-commits mailing list