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:
78a369a
)
uh...this should be defaulted. Turn ON on install, then restart.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Thu, 24 Jul 2008 19:19:55 +0000
(19:19 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Thu, 24 Jul 2008 19:19:55 +0000
(19:19 +0000)
iptables.spec
patch
|
blob
|
history
diff --git
a/iptables.spec
b/iptables.spec
index
c680f4b
..
fa4b023
100644
(file)
--- 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