Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > f06d153a94615bb70b441058abbd29bf > scriptlet

gkrellm-gkrellmd-2.2.9-1.amd64.rpm

PREUN

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

POSTIN

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