Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > a28ca6d9b2ad220c8d7862852ad3526b > scriptlet

watchdog-5.5-7.fc13.i686.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