Sophie

Sophie

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

freeipmi-bmc-watchdog-0.8.8-1.fc14.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