Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > cdea77641bc23a167eb22ca7df9d1e20 > scriptlet

ypbind-mt-1.19.1-2.amd64.rpm

PREUN

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

POSTIN

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

Triggers

ypbind <= ypbind-3.3-5

/bin/sh
/sbin/chkconfig --add ypbind