Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 5d6c790d2ba8fa0ae56de9b4d8595a88 > scriptlet

util-vserver-legacy-0.30.212-9.amd64.rpm

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