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

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 22 20:09:23 GMT 2021


adrian pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/5a11ca3cf33c421949985a7ff176dac17cf07bd8

commit 5a11ca3cf33c421949985a7ff176dac17cf07bd8
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>
    (cherry picked from commit fdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39)
---
 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