aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
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-21 22:45:20 +0100
commitfdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39 (patch)
tree0f4490926b19f42e19fa411acf653cd0edc3b264 /package/base-files
parentdf6154848a1486c6dcbf2566ea9fd9bf2e094a40 (diff)
downloadupstream-fdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39.tar.gz
upstream-fdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39.tar.bz2
upstream-fdbdbe8eaaa6aa3acacdcb3ae1308b2a2055fc39.zip
base-files: add logging for configuration import
Make sysupgrade backup import more verbose. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'package/base-files')
-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