PREIN
/bin/sh
# This section is needed here because previous versions of spacewalk-config
# (and rhn-satellite-config) "owned" the satellite-httpd service. We need
# to keep this section here indefinitely, because Satellite 5.2 could
# be upgraded directly to our version of Spacewalk.
if [ -f /etc/init.d/satellite-httpd ] ; then
/sbin/service satellite-httpd stop >/dev/null 2>&1
/sbin/chkconfig --del satellite-httpd
/usr/bin/perl -i -ne 'print unless /satellite-httpd\.pid/' /etc/logrotate.d/httpd
fi