diff --git a/Shorewall-shell/shorewall-shell.spec b/Shorewall-shell/shorewall-shell.spec index e96cd45d7..a44c1c4f5 100644 --- a/Shorewall-shell/shorewall-shell.spec +++ b/Shorewall-shell/shorewall-shell.spec @@ -41,27 +41,8 @@ rm -rf $RPM_BUILD_ROOT %post -if [ $1 -eq 1 ]; then - if [ -x /sbin/insserv ]; then - /sbin/insserv /etc/rc.d/shorewall - elif [ -x /sbin/chkconfig ]; then - /sbin/chkconfig --add shorewall; - fi -fi - %preun -if [ $1 = 0 ]; then - if [ -x /sbin/insserv ]; then - /sbin/insserv -r /etc/init.d/shorewall - elif [ -x /sbin/chkconfig ]; then - /sbin/chkconfig --del shorewall - fi - - rm -f /etc/shorewall/startup_disabled - -fi - %files %defattr(0644,root,root,0755) %attr(0755,root,root) %dir /usr/share/shorewall-shell