git://git.onelab.eu
/
iptables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6111043
)
wrong arguments to service command. fixed.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 28 Jul 2008 17:25:09 +0000
(17:25 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 28 Jul 2008 17:25:09 +0000
(17:25 +0000)
iptables.spec
patch
|
blob
|
history
diff --git
a/iptables.spec
b/iptables.spec
index
a869c03
..
74ced84
100644
(file)
--- 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