mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 13:39:06 +01:00
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:
parent
95a9fc08f1
commit
6a3e2b2b06
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user