fix problem reported by Thierry
authorS.Çağlar Onur <caglar@verivue.com>
Thu, 24 Mar 2011 14:43:08 +0000 (10:43 -0400)
committerS.Çağlar Onur <caglar@verivue.com>
Thu, 24 Mar 2011 14:43:08 +0000 (10:43 -0400)
iptables.spec

index 82dc37f..29522f8 100644 (file)
@@ -119,7 +119,7 @@ rm -rf %{buildroot}
 /sbin/chkconfig --add iptables
 DEFAULT_IFACE=$(ip route show default | awk '/default/ {print $5}')
 sed -i -e "s;__eth;$DEFAULT_IFACE;g" /etc/sysconfig/iptables 
-service iptables restart
+[ "$PL_BOOTCD" = "1" ] || service iptables restart
 
 %postun -p /sbin/ldconfig