Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > 0b96e2141a20f7aca35f8cbf8bac4b3d > files > 5

shorewall-4.2.8-2mdv2009.1.src.rpm

diff -Naur shorewall-lite-4.2.5/init.sh shorewall-lite-4.2.4.tpg/init.sh
--- shorewall-lite-4.2.5/init.sh	2008-06-30 14:38:29.000000000 +0000
+++ shorewall-lite-4.2.5.eugeni/init.sh	2009-01-03 03:18:33.000000000 +0000
@@ -37,7 +37,7 @@
 #	   shorewall status			  Displays firewall status
 #
 
-# chkconfig: 2345 25 90
+# chkconfig: 2345 10 90
 # description: Packet filtering firewall
 
 ### BEGIN INIT INFO
@@ -47,13 +47,14 @@
 # Default-Start:  2 3 5
 # Default-Stop:	  0 1 6
 # Description:	  starts and stops the shorewall firewall
+# Short-Description: shorewall-lite
 ### END INIT INFO
 
 ################################################################################
 # Give Usage Information						       #
 ################################################################################
 usage() {
-    echo "Usage: $0 start|stop|reload|restart|status"
+    echo "Usage: $0 start|stop|reload|restart|status|clear"
     exit 1
 }
 
@@ -76,7 +77,7 @@
     start)
 	exec /sbin/shorewall-lite $OPTIONS $@
 	;;
-    stop|restart|status)
+    stop|restart|status|clear)
 	exec /sbin/shorewall-lite $@
 	;;
     reload)