Red Hat ENTERPRISE LINUX 4.5.0 - Guía de usuario Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 117
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
71
# description: software watchdog
#
# Source function library.
### BEGIN INIT INFO
# Provides: watchdog
# Required-Start:
# Should-Start: ipmi
# Required-stop:
# Default-Start: 2 3 5
# Default-stop:
# Short-Description: watchdog
# Description: software watchdog
### END INIT INFO
prog=/usr/sbin/ResetWDT
case "$1" in
start)
echo -n "Starting watchdog daemon: "
${prog} &
echo
;;
*)
echo "Usage: watchdog {start}"
exit 1
;;
esac
----------------------------------------
* Specify the path of WDT Update program in prog=
3-4) Copy WDT Update program script .
# install -p -m 755 watchdog /etc/init.d
3-5) Set that WDT Update program is possible to start automatically.
# chkconfig -add watchdog
# chkconfig watchdog on
Note
When you create the program and script on Windows, It is necessary to change
code for Linux under use.
4) Restart the system.
# reboot
Disable Procedure
Log in to the system as the root user.
1) Set that WDT Update program is possible to stop automatically.
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 116 117

Comentarios a estos manuales

Sin comentarios