Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 2a66bc14d5bd0b623a57416d34b8a746 > scriptlet

freeipmi-bmc-watchdog-1.0.5-1.fc16.i686.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add bmc-watchdog

POSTUN

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