Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > 8a2e3862f3c9422586217c6c64d0db6c > scriptlet

watchdog-5.6-1.el5.i386.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
  /sbin/service watchdog stop >/dev/null 2>&1
  /sbin/chkconfig --del watchdog
fi

POSTIN

/bin/sh
if [ $1 -eq 1 ]; then
  /sbin/chkconfig --add watchdog
fi

POSTUN

/bin/sh
if [ $1 -ge 1 ]; then
  /sbin/service watchdog condrestart >/dev/null  2>&1
fi