X-Git-Url: http://git.onelab.eu/?p=iptables.git;a=blobdiff_plain;f=iptables.spec;fp=iptables.spec;h=29522f845cad8d408a0622c6cfb1e8882e3e63df;hp=82dc37fdcbfb0af03cc60f94822db10365a2b953;hb=7fe27694461ef9f6b548376c0bcc2d695fcb5955;hpb=6e4bdcddb7c8901a8e3d256cc654a9d2f924b9f0 diff --git a/iptables.spec b/iptables.spec index 82dc37f..29522f8 100644 --- a/iptables.spec +++ b/iptables.spec @@ -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