From f90e120899881bfd3d665e090880e75846dc4b7d Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 18 Apr 2007 19:55:31 +0000 Subject: [PATCH] Fix bug in the .spec file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6003 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/shorewall-shell.spec | 19 ------------------- 1 file changed, 19 deletions(-) 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