Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > media > main-testing-src > by-pkgid > 960cf1a869e4d80769cc7ad122b4e889 > files > 3

shorewall-4.0.15-0.1mdv2009.0.src.rpm

diff -Naur shorewall-common-4.0.7/init.sh shorewall-common-4.0.7.tpg/init.sh
--- shorewall-common-4.0.7/init.sh	2007-09-08 16:07:36.000000000 +0000
+++ shorewall-common-4.0.7.tpg/init.sh	2008-01-25 17:32:36.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
@@ -48,13 +48,14 @@
 # Default-Start:  2 3 5
 # Default-Stop:	  0 1 6
 # Description:	  starts and stops the shorewall firewall
+# Short-Description: shorewall-common
 ### 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
 }
 
@@ -77,7 +78,7 @@
     start)
 	exec /sbin/shorewall $OPTIONS $@
 	;;
-    stop|restart|status)
+    stop|restart|status|clear)
 	exec /sbin/shorewall $@
 	;;
     reload)