base-files: add logging for configuration import
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 1 Feb 2021 09:58:09 +0000 (10:58 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 21 Mar 2021 21:45:20 +0000 (22:45 +0100)
Make sysupgrade backup import more verbose.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
package/base-files/files/sbin/sysupgrade

index 7977b06ef18e9f3c10b6327bb233d9b3fc6602ac..7e0a00e13b8ee4be7163936fd01a7beff0ce5c99 100755 (executable)
@@ -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