SOURCES: ip6tables.init - ok, fail do not take args

glen glen at pld-linux.org
Sat Mar 3 11:50:09 CET 2007


Author: glen                         Date: Sat Mar  3 10:50:09 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- ok, fail do not take args

---- Files affected:
SOURCES:
   ip6tables.init (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/ip6tables.init
diff -u SOURCES/ip6tables.init:1.9 SOURCES/ip6tables.init:1.10
--- SOURCES/ip6tables.init:1.9	Sat Mar  3 11:49:12 2007
+++ SOURCES/ip6tables.init	Sat Mar  3 11:50:04 2007
@@ -142,8 +142,8 @@
 		iftable nat -P OUTPUT DROP && \
 		iftable mangle -P PREROUTING DROP && \
 		iftable mangle -P OUTPUT DROP && \
-		ok "Changing target policies to DROP" || \
-		fail "Changing target policies to DROP"
+		ok || \
+		fail
 		iftable filter -F INPUT && \
 			iftable filter -F FORWARD && \
 			iftable filter -F OUTPUT && \
@@ -152,8 +152,8 @@
 			iftable nat -F OUTPUT && \
 			iftable mangle -F PREROUTING && \
 			iftable mangle -F OUTPUT && \
-			ok "Flushing all chains:" || \
-			fail "Flushing all chains:"
+			ok || \
+			fail
 		iftable filter -X INPUT && \
 			iftable filter -X FORWARD && \
 			iftable filter -X OUTPUT && \
@@ -162,8 +162,8 @@
 			iftable nat -X OUTPUT && \
 			iftable mangle -X PREROUTING && \
 			iftable mangle -X OUTPUT && \
-			ok "Removing user defined chains:" || \
-			fail "Removing user defined chains:"
+			ok || \
+			fail
 		;;
 
   save)
@@ -171,8 +171,8 @@
 	touch $IPTABLES_CONFIG
 	chmod 600 $IPTABLES_CONFIG
 	/usr/sbin/ip6tables-save -c > $IPTABLES_CONFIG  2>/dev/null && \
-	  ok "Saving current rules to $IPTABLES_CONFIG" || \
-	  fail "Saving current rules to $IPTABLES_CONFIG"
+	  ok || \
+	  fail
 	;;
 
   *)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ip6tables.init?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list