Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > media > contrib-release > by-pkgid > 9b2407fed8602bd754ce2b73c3af20e0 > scriptlet

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

PREUN

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

test "$1" != 0 || /sbin/chkconfig --del vprocunhide
test "$1" != 0 || /sbin/chkconfig --del vservers-default

POSTIN

/bin/sh
/sbin/chkconfig --add vservers-default
/sbin/chkconfig --add vprocunhide

POSTUN

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


## Temporary workaround to remove old v_* files; it will conflict
## somehow with the -legacy package but can be fixed by reinstalling
## this package.
## TODO: remove me in the final .spec file

Triggers

util-vserver-sysv < 0.30.198

/bin/sh
for i in httpd named portmap sendmail smb sshd xinetd gated; do
	/sbin/chkconfig --del v_$i || :
done