Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 664395b1d2f18c881be52c950da0fac1 > scriptlet

ipxtund-1.3.0-6.amd64.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add ipxtund
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/ipxtund ] && . /etc/sysconfig/ipxtund
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/ipxtund ]; then
/sbin/service ipxtund restart 1>&2 || :;
else
echo 'Run "/sbin/service ipxtund start" to start ipxtund service.'
fi
fi };