Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > ab6f5bc36b7507de66d2d68ca4e73f02 > scriptlet

preload-0.6.4-8.fc18.i686.rpm

PREUN

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

POSTIN

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

POSTUN

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