Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > by-pkgid > 32100f46caf394ab49713be764c3a45c > scriptlet

freeipmi-utils-0.2.0-2mdv2007.0.x86_64.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