Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 5a45f6f0015154d54a0d19dc1691061e > scriptlet

rlinetd-0.6-1.amd64.rpm

PREUN

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

POSTIN

/bin/sh
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/rc-inetd ] && . /etc/sysconfig/rc-inetd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/rc-inetd ]; then
/sbin/service rc-inetd restart 1>&2 || :;
fi
fi };