From: Faiyaz Ahmed Date: Thu, 24 Jul 2008 19:19:55 +0000 (+0000) Subject: uh...this should be defaulted. Turn ON on install, then restart. X-Git-Tag: iptables-1.3.8-5~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4b65a15758bc68e069b456c32eb88a1dc6d4ab23;p=iptables.git uh...this should be defaulted. Turn ON on install, then restart. --- diff --git a/iptables.spec b/iptables.spec index c680f4b..fa4b023 100644 --- a/iptables.spec +++ b/iptables.spec @@ -115,6 +115,8 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add iptables +/sbin/chkconfig --level 345 iptables on +/sbin/service restart iptables %preun if [ "$1" = 0 ]; then @@ -123,6 +125,8 @@ fi %post ipv6 /sbin/chkconfig --add ip6tables +/sbin/chkconfig --level 345 ip6tables on +/sbin/service restart ip6tables %preun ipv6 if [ "$1" = 0 ]; then