Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 9df354977122f27afa8d790ebc11fbe7 > scriptlet

watchdog-5.6-1.el5.x86_64.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