Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 8c212bae9ac67332c04362a97d818eff > scriptlet

freeipmi-utils-0.1.3-2mdk.i586.rpm

PREUN

/bin/sh
#
# Stop bmc-watchdog if it is running 
#
if [ "$1" = 0 ]; then
    if [ -x /etc/init.d/bmc-watchdog ]; then
       if /etc/init.d/bmc-watchdog status | grep -q running; then
          /etc/init.d/bmc-watchdog stop
       fi
       [ -x /sbin/chkconfig ] && /sbin/chkconfig --del bmc-watchdog
    fi
fi