Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > eaf31e01aea636d4a1321d6201276d2a > scriptlet

fwlogwatch-0.5.2-1.i686.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	if [ -f /var/lock/subsys/fwlogwatch ]; then
	        /etc/rc.d/init.d/fwlogwatch stop 1>&2
	fi
	/sbin/chkconfig --del fwlogwatch
fi

POSTIN

/bin/sh
/sbin/chkconfig --add fwlogwatch
if [ -f /var/lock/subsys/fwlogwatch ]; then
        /etc/rc.d/init.d/fwlogwatch restart 1>&2
else
        echo "Run \"/etc/rc.d/init.d/fwlogwatch start\" to start fwlogwatch daemon."
fi