From: Florian Eckert Date: Mon, 1 Feb 2021 09:58:09 +0000 (+0100) Subject: base-files: add logging for configuration import X-Git-Tag: v21.02.0-rc1~122 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5a11ca3cf33c421949985a7ff176dac17cf07bd8;p=openwrt%2Fstaging%2Fhauke.git base-files: add logging for configuration import Make sysupgrade backup import more verbose. Signed-off-by: Florian Eckert (cherry picked from commit fdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39) --- 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