Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > bf30aedac9f2019dac6baf4d35fe7ef4 > scriptlet

preload-0.6.4-2.fc12.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