Sophie

Sophie

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

fam-standalone-2.7.0-6.amd64.rpm

PREUN

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

POSTIN

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