Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 5b84648b253654d90b8a9bc653c04771 > scriptlet

freeipmi-bmc-watchdog-1.0.1-2.fc15.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