Sophie

Sophie

distrib > Fedora > 15 > x86_64 > media > os > by-pkgid > 3b4fc39f78f81a15f264a7c059ccb453 > scriptlet

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