source: trunk/package/om2p-watchdog/files/om2p-watchdog.init @ 28972

Last change on this file since 28972 was 28972, checked in by juhosg, 5 years ago

package: add om2p-watchdog script

Based on a patch by: Marek Lindner <lindner_marek@…>

  • Property svn:executable set to *
File size: 186 bytes
Line 
1#!/bin/sh /etc/rc.common
2#
3# Copyright (C) 2011 OpenWrt.org
4#
5
6START=11
7
8boot() {
9        . /lib/ar71xx.sh
10
11        local board=$(ar71xx_board_name)
12
13        [ "$board" = "om2p" ] && /sbin/om2p-watchdog &
14}
Note: See TracBrowser for help on using the repository browser.