Sophie

Sophie

distrib > Fedora > 15 > x86_64 > media > os > by-pkgid > 2b4fea52e50328d12fa38b168bcb433e > scriptlet

pki-kra-9.0.3-1.fc15.noarch.rpm

PREUN

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

POSTIN

/bin/sh
# This adds the proper /etc/rc*.d links for the script
/sbin/chkconfig --add pki-krad || :

POSTUN

/bin/sh
if [ "$1" -ge "1" ] ; then
    /sbin/service pki-krad condrestart >/dev/null 2>&1 || :
fi