Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > media > contrib-release > by-pkgid > 892b280f62f953fe29e0a922ffdd33be > scriptlet

util-vserver-legacy-0.30.204-1mdk.i586.rpm

PREUN

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

test "$1" != 0 || for i in httpd named portmap sendmail smb sshd xinetd gated; 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 httpd named portmap sendmail smb sshd xinetd gated; do
	/sbin/chkconfig --add v_$i
done

POSTUN

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