PREUN
/bin/sh
if [ "$1" = "0" ]; then
{
if [ -f /var/lock/subsys/rebootmgr ]; then
/sbin/service rebootmgr stop 1>&2 || :;
fi }; {
if [ -f /var/lock/subsys/vservers-legacy ]; then
/sbin/service vservers-legacy stop 1>&2 || :;
fi }; /sbin/chkconfig --del rebootmgr
/sbin/chkconfig --del vservers-legacy
fi
POSTIN
/bin/sh
/sbin/chkconfig --add rebootmgr
/sbin/chkconfig --add vservers-legacy
if [ ! -f /var/lock/subsys/rebootmgr ] ; then
echo "Type \"/sbin/service rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
fi
if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
echo "Type \"/sbin/service vservers-legacy start\" to start legacy vservers" 1>&2
fi