aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-02-01 10:58:09 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-22 21:08:00 +0100
commit5a11ca3cf33c421949985a7ff176dac17cf07bd8 (patch)
tree769cd0b407f869d51bdd500fa081878878324c66 /package
parent0444a93bdf7b64c1042aa3bf20a68c1157d99c0e (diff)
downloadupstream-5a11ca3cf33c421949985a7ff176dac17cf07bd8.tar.gz
upstream-5a11ca3cf33c421949985a7ff176dac17cf07bd8.tar.bz2
upstream-5a11ca3cf33c421949985a7ff176dac17cf07bd8.zip
base-files: add logging for configuration import
Make sysupgrade backup import more verbose. Signed-off-by: Florian Eckert <fe@dev.tdt.de> (cherry picked from commit fdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39)
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade1
1 files changed, 1 insertions, 0 deletions
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