Sophie

Sophie

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

zebra-ripngd-0.94-5.amd64.rpm

PREUN

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

POSTIN

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