Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 5033611921c0329315261ceb9a744577 > scriptlet

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

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	{
if [ -f /var/lock/subsys/vservers ]; then
/sbin/service vservers stop 1>&2 || :;
fi };	{
if [ -f /var/lock/subsys/vprocunhide ]; then
/sbin/service vprocunhide stop 1>&2 || :;
fi };	{
if [ -f /var/lock/subsys/vrootdevices ]; then
/sbin/service vrootdevices stop 1>&2 || :;
fi };	/sbin/chkconfig --del vservers
	/sbin/chkconfig --del vprocunhide
	/sbin/chkconfig --del vrootdevices
fi

POSTIN

/bin/sh
/sbin/chkconfig --add vrootdevices
/sbin/chkconfig --add vprocunhide
/sbin/chkconfig --add vservers
if [ ! -f /var/lock/subsys/vrootdevices ]; then
	echo "Type \"/sbin/service vrootdevices start\" to assign virtual root devices" 1>&2
fi
if [ ! -f /var/lock/subsys/vprocunhide ]; then
	echo "Type \"/sbin/service vprocunhide start\" to set /proc visibility for vservers" 1>&2
fi
if [ ! -f /var/lock/subsys/vservers ]; then
	echo "Type \"/sbin/service vservers start\" to start vservers" 1>&2
fi