Mark a restored configuration as 'Restored' rather than 'Started'.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-03-17 10:10:56 -07:00
parent 1177540fd8
commit 91bc3b3293
3 changed files with 10 additions and 2 deletions

View File

@ -2261,7 +2261,7 @@ EOF
if run_it $g_restorepath restore; then
echo "$g_product restored from $g_restorepath"
set_state "Started"
set_state "Restored from $g_restorepath"
else
set_state "Unknown"
fi

View File

@ -31,6 +31,8 @@ Changes in Shorewall 4.4.8
15) Add support for UDPLITE
16) Distinguish between 'Started' and 'Restored' in ${VARDIR}/state
Changes in Shorewall 4.4.7
1) Backport optimization changes from 4.5.

View File

@ -348,12 +348,18 @@ None.
5) Support has been added for UDPLITE (proto 136) in that DEST PORT(S)
and SOURCE PORT(S) may now be specified for that protocol.
6) If a runtime error occurs during a 'start' or 'restart' operation
but a saved configuration is successfully restored, a subsequent
'status' command now gives the detailed status as 'Restored from
<filename>' rather than 'Started'; <filename> is the saved script
used to restore the configuration.
----------------------------------------------------------------------------
V I. P R O B L E M S C O R R E C T E D A N D N E W F E A T U R E S
I N P R I O R R E L E A S E S
----------------------------------------------------------------------------
P R O B L E M S C O R R E C T E D I N 4 . 4 . 7
P R O B L E M S C O R R E C T E D I N 4 . 4 . 7
----------------------------------------------------------------------------
1) The tcinterfaces and tcpri files are now installed by the