From 4b65a15758bc68e069b456c32eb88a1dc6d4ab23 Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Thu, 24 Jul 2008 19:19:55 +0000 Subject: [PATCH] uh...this should be defaulted. Turn ON on install, then restart. --- iptables.spec | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.0