From: Faiyaz Ahmed Date: Mon, 28 Jul 2008 17:25:09 +0000 (+0000) Subject: wrong arguments to service command. fixed. X-Git-Tag: iptables-1.3.8-6~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b555547a1e63eca405db69d696398983ab2ad9fe;p=iptables.git wrong arguments to service command. fixed. --- diff --git a/iptables.spec b/iptables.spec index a869c03..74ced84 100644 --- a/iptables.spec +++ b/iptables.spec @@ -115,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add iptables -/sbin/service restart iptables +/sbin/service iptables restart %preun if [ "$1" = 0 ]; then @@ -124,7 +124,7 @@ fi %post ipv6 /sbin/chkconfig --add ip6tables -/sbin/service restart ip6tables +/sbin/service ip6tables restart %preun ipv6 if [ "$1" = 0 ]; then