Sophie

Sophie

distrib > Fedora > 14 > i386 > media > updates > by-pkgid > 0babc033266831cfd8abec899a2d7712 > scriptlet

openvas-scanner-3.2.3-1.fc14.i686.rpm

PREUN

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

POSTIN

/bin/sh
# This adds the proper /etc/rc*.d links for the script
if [ "$1" -eq 1 ]; then
	/sbin/chkconfig --add openvas-scanner
fi

POSTUN

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