Sophie

Sophie

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

zebra-ospf6d-0.94-5.amd64.rpm

PREUN

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

POSTIN

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