Timestamd 'Restored' messages when -t is specified

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3902 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-05-10 20:11:37 +00:00
parent 95a9fc08f1
commit 6a3e2b2b06

View File

@ -608,7 +608,7 @@ start_command() {
echo Restoring Shorewall...
$RESTOREPATH restore
date > /var/lib/shorewall/restarted
echo Shorewall restored from $RESTOREPATH
progress_message3 Shorewall restored from $RESTOREPATH
else
do_it
fi
@ -1279,7 +1279,7 @@ restore_command() {
fi
progress_message3 "Restoring Shorewall..."
$RESTOREPATH restore && echo "Shorewall restored from /var/lib/shorewall/$RESTOREFILE"
$RESTOREPATH restore && progress_message3 "Shorewall restored from /var/lib/shorewall/$RESTOREFILE"
[ -n "$nolock" ] || mutex_off
else
echo "File /var/lib/shorewall/$RESTOREFILE: file not found"