watchdog 244 B

12345678910111213
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2008-2011 OpenWrt.org
  3. START=97
  4. start() {
  5. [ -c /dev/watchdog ] || return 1
  6. [ -x /sbin/watchdog ] || return 1
  7. service_start /sbin/watchdog -t 5 /dev/watchdog
  8. }
  9. stop() {
  10. service_stop /sbin/watchdog
  11. }