package/base-files: use case statement in led init script
[openwrt.git] / package / base-files / files / etc / init.d / watchdog
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2008-2011 OpenWrt.org
3
4 START=97
5
6 start() {
7 [ -c /dev/watchdog ] || return 1
8 [ -x /sbin/watchdog ] || return 1
9 service_start /sbin/watchdog -t 5 /dev/watchdog
10 }
11 stop() {
12 service_stop /sbin/watchdog
13 }
This page took 0.042725 seconds and 5 git commands to generate.