packages: iptables/iptables.upstart - use actions that are not shadowed

glen glen at pld-linux.org
Thu Jan 27 23:27:41 CET 2011


Author: glen                         Date: Thu Jan 27 22:27:41 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use actions that are not shadowed

---- Files affected:
packages/iptables:
   iptables.upstart (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/iptables/iptables.upstart
diff -u packages/iptables/iptables.upstart:1.1 packages/iptables/iptables.upstart:1.2
--- packages/iptables/iptables.upstart:1.1	Thu Jan 27 22:53:53 2011
+++ packages/iptables/iptables.upstart	Thu Jan 27 23:27:36 2011
@@ -11,11 +11,9 @@
 end script
 
 script
-	export USE_UPSTART=no
-	exec /etc/rc.d/init.d/iptables start
+	exec /etc/rc.d/init.d/iptables load
 end script
 
 pre-stop script
-	export USE_UPSTART=no
-	exec /etc/rc.d/init.d/iptables stop
+	exec /etc/rc.d/init.d/iptables clear
 end script
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/iptables/iptables.upstart?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list