Sophie

Sophie

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

ipac-ng-1.31-6.amd64.rpm

PREUN

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

POSTIN

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