Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > a845ee713e6712c64c18e4c985b34089 > scriptlet

util-vserver-legacy-0.30.215+svn2893-1401.fc14.i686.rpm

PREUN

/bin/sh
test "$1" != 0 || /etc/rc.d/init.d/rebootmgr   stop &>/dev/null || :

test "$1" != 0 || for i in %v_services; do
	/sbin/chkconfig --del v_$i
done

test "$1" != 0 || /sbin/chkconfig --del rebootmgr
test "$1" != 0 || /sbin/chkconfig --del vservers-legacy

POSTIN

/bin/sh
/sbin/chkconfig --add rebootmgr
/sbin/chkconfig --add vservers-legacy

for i in %v_services; do
	/sbin/chkconfig --add v_$i
done

POSTUN

/bin/sh
test "$1" = 0  || /etc/rc.d/init.d/rebootmgr   condrestart >/dev/null || :