Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 394a05c5487fae68f3b5f0c0269fb73a > scriptlet

oidentd-standalone-2.0.7-4.amd64.rpm

PREUN

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

POSTIN

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