Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 45c53e36a68c75f4991e386be5cd303d > scriptlet

wdaemon-0.14-8.x86_64.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
	/sbin/service wdaemon stop > /dev/null 2>&1
	/sbin/chkconfig --del wdaemon
fi

POSTIN

/bin/sh
if [ $1 = 1 ]; then
	/sbin/chkconfig --add wdaemon
fi

POSTUN

/bin/sh
if [ $1 -ge 1 ]; then
	/sbin/service wdaemon condrestart >/dev/null 2>&1
fi