Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > contrib > by-pkgid > 48b7f0dd790d0ac63c4277b07b8d7981 > scriptlet

util-vserver-sysv-0.30.204-1mdk.x86_64.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