You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/om2p-watchdog/files/om2p-watchdog.init

15 lines
186 B
Bash

#!/bin/sh /etc/rc.common
#
# Copyright (C) 2011 OpenWrt.org
#
START=11
boot() {
. /lib/ar71xx.sh
local board=$(ar71xx_board_name)
[ "$board" = "om2p" ] && /sbin/om2p-watchdog &
}