2007-06-18 22:22:57 +02:00
|
|
|
--- /home/teastep/shorewall/branches/3.4/Shorewall/shorewall 2007-06-18 11:32:15.000000000 -0700
|
2007-06-19 15:48:16 +02:00
|
|
|
+++ shorewall 2007-06-19 06:36:20.000000000 -0700
|
2007-06-18 20:05:15 +02:00
|
|
|
@@ -1305,7 +1305,7 @@
|
2007-06-16 17:43:14 +02:00
|
|
|
echo " stop"
|
|
|
|
echo " status"
|
|
|
|
echo " try [ -C {shell|perl} ] <directory> [ <timeout> ]"
|
|
|
|
- echo " version"
|
|
|
|
+ echo " version [ -a ]"
|
|
|
|
echo " safe-start [ -C {shell|perl} ] [ <directory> ]"
|
|
|
|
echo " safe-restart [ -C {shell|perl} ] [ <directory> ]"
|
|
|
|
echo
|
2007-06-18 20:05:15 +02:00
|
|
|
@@ -1449,6 +1449,10 @@
|
2007-06-16 17:43:14 +02:00
|
|
|
echo $version
|
|
|
|
|
|
|
|
if [ -n "$all" ]; then
|
|
|
|
+ if [ -f /usr/share/shorewall-shell/version ]; then
|
|
|
|
+ echo "Shorewall-shell $(cat /usr/share/shorewall-shell/version)"
|
|
|
|
+ fi
|
|
|
|
+
|
|
|
|
if [ -f /usr/share/shorewall-perl/version ]; then
|
|
|
|
echo "Shorewall-perl $(cat /usr/share/shorewall-perl/version)"
|
|
|
|
fi
|
2007-06-19 15:48:16 +02:00
|
|
|
@@ -1534,6 +1538,7 @@
|
|
|
|
[ $# -ne 1 ] && usage 1
|
|
|
|
get_config
|
|
|
|
export NOROUTES
|
|
|
|
+ [ -x ${VARDIR}/.restore ] && FIREWALL=${VARDIR}/.restore
|
|
|
|
exec $SHOREWALL_SHELL $FIREWALL $debugging $nolock $COMMAND
|
|
|
|
;;
|
|
|
|
compile)
|