diff options
Diffstat (limited to 'target/linux/omap24xx/base-files/etc/init.d/.svn')
3 files changed, 84 insertions, 0 deletions
diff --git a/target/linux/omap24xx/base-files/etc/init.d/.svn/entries b/target/linux/omap24xx/base-files/etc/init.d/.svn/entries new file mode 100644 index 0000000..1bb143b --- /dev/null +++ b/target/linux/omap24xx/base-files/etc/init.d/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/omap24xx/base-files/etc/init.d +svn://svn.openwrt.org/openwrt + + + +2011-03-06T10:45:24.244307Z +25883 +mb + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +watchdog +file + + + + +2013-03-17T12:13:05.000000Z +dc3aca2d011c31a739bca204e1310738 +2011-03-06T10:45:24.244307Z +25883 +mb +has-props + + + + + + + + + + + + + + + + + + + + +373 + diff --git a/target/linux/omap24xx/base-files/etc/init.d/.svn/prop-base/watchdog.svn-base b/target/linux/omap24xx/base-files/etc/init.d/.svn/prop-base/watchdog.svn-base new file mode 100644 index 0000000..869ac71 --- /dev/null +++ b/target/linux/omap24xx/base-files/etc/init.d/.svn/prop-base/watchdog.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END diff --git a/target/linux/omap24xx/base-files/etc/init.d/.svn/text-base/watchdog.svn-base b/target/linux/omap24xx/base-files/etc/init.d/.svn/text-base/watchdog.svn-base new file mode 100644 index 0000000..0d042c6 --- /dev/null +++ b/target/linux/omap24xx/base-files/etc/init.d/.svn/text-base/watchdog.svn-base @@ -0,0 +1,17 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008-2010 OpenWrt.org + +START=25 + +start() { + [ -c /dev/watchdog -a -x /sbin/watchdog ] || { + echo "WARNING: Watchdog not available. System will reboot soon!" + return 1 + } + /sbin/watchdog -T 63 -t 50 /dev/watchdog + [ -x /usr/bin/schedtool ] && /usr/bin/schedtool -R -p 60 -n -20 $(pidof watchdog) +} + +stop() { + killall -q watchdog +} |