Root/package/base-files/files/etc/init.d/watchdog

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

Archive Download this file



interactive