[Lunar-commits] r15809 - moonbase/trunk/security/firestarter/init.d

Jan Eidtmann cmak at lunar-linux.org
Thu Jul 21 23:39:58 UTC 2005


Author: cmak
Date: 2005-07-21 23:39:58 +0000 (Thu, 21 Jul 2005)
New Revision: 15809

Modified:
   moonbase/trunk/security/firestarter/init.d/firestarter
Log:
fixed init script

Modified: moonbase/trunk/security/firestarter/init.d/firestarter
===================================================================
--- moonbase/trunk/security/firestarter/init.d/firestarter	2005-07-21 22:51:37 UTC (rev 15808)
+++ moonbase/trunk/security/firestarter/init.d/firestarter	2005-07-21 23:39:58 UTC (rev 15809)
@@ -3,7 +3,7 @@
 # firestarter        Starts the firewall.
 #
 #
-# chkconfig: 345 5 95
+# chkconfig: 345 11 90
 # description:  Firestarter is a complete firewall tool for 
 # Linux machines. Whether you simply want to protect your 
 # personal workstation or you have a network of computers to 
@@ -12,14 +12,18 @@
 # first line of defence against network based attacks.
 
 case $1 in
-  start|restart)  echo     "$1ing firewall."
-                  pkill -f  "firestarter \["
-                  firestarter
+    start)        echo     "$1ing firewall."
+                  firestarter -s
                   ;;
 
-   stop)          echo     "$1ping firewall."
-                  pkill -f  "firestarter \["
-                  ;;                 
+    stop)         echo     "$1ping firewall."
+		  firestarter -p
+                  ;;
+		  
+    restart)	  echo	   "$1ing firewall."
+		  firestarter -p
+	          firestarter -s
+		  ;;
 
       *)          echo     "Usage: $0 {start|stop|restart}"
                   ;;                                        



More information about the Lunar-commits mailing list