![]() |
OpenSlug.InstallWatchdog HistoryHide minor edits - Show changes to markup November 03, 2007, at 10:37 AM
by --
Added line 27:
November 03, 2007, at 10:35 AM
by --
Changed lines 24-26 from:
@@ to:
(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:) [= Changed lines 50-52 from:
@@ to:
=] (:tableend:) November 03, 2007, at 10:33 AM
by --
Changed lines 48-50 from:
l@@ to:
@@ November 03, 2007, at 10:27 AM
by --
Changed lines 22-26 from:
to:
Here's a startup script for /etc/init.d @@
watchdog=/sbin/watchdog test -x "$watchdog" || exit 0 case "$1" in start)
echo "Starting Watchdog"
$watchdog /dev/watchdog
;;
stop)
;;
reload|force-reload)
;;
restart)
;;
*)
echo "Usage: /etc/init.d/watchdog {start|stop|reload|restart|force-reload}"
exit 1
esac l@@ October 31, 2007, at 11:00 AM
by --
Changed lines 12-14 from:
Busybox supports a Watchdog command with the following Syntax. I had to recompile the standard busybox that comes with OpenSlug to add the watchdog command. to:
Busybox supports a Watchdog command with the following Syntax. I had to recompile the standard busybox that comes with OpenSlug to add the watchdog command. You can check which commands you busybox supports with October 31, 2007, at 10:58 AM
by --
Changed lines 18-23 from:
-t Timer period in seconds - default is 30 -F Stay in the foreground and don't fork to:
-t Timer period in seconds - default is 30
-F Stay in the foreground and don't fork"
October 31, 2007, at 10:56 AM
by --
Changed lines 5-9 from:
to:
ipkg install kernel-module-ixp4xx-wdt
insmod /lib/modules/2.6.16/kernel/drivers/char/watchdog/ixp4xx_wdt.ko
echo ixp4xx_wdt >> /etc/modutils/ixp4xx_wdt
update-modules
You should now have a device /dev/watchdog Added line 16:
Added line 19:
Added line 23:
October 31, 2007, at 10:54 AM
by -- Initial Version
Added lines 1-23:
Openslug can support a watchdog timer to reboot your slug Here is what I did to get it working on OpenSlug 3.1
Busybox supports a Watchdog command with the following Syntax. I had to recompile the standard busybox that comes with OpenSlug to add the watchdog command. watchdog [-t <seconds>] [-F] DEV Periodically write to watchdog device DEV . Options: -t Timer period in seconds - default is 30 -F Stay in the foreground and don't fork You can put it in a crontab as follows: |