package/om-watchdog: add OM2P-HS support

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33801 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2012-10-17 08:26:03 +00:00
parent 868a0c9780
commit b7f9e18ad3
1 changed files with 8 additions and 5 deletions

View File

@ -12,11 +12,14 @@ boot() {
. /lib/ar71xx.sh . /lib/ar71xx.sh
local board=$(ar71xx_board_name) local board=$(ar71xx_board_name)
if [ "$board" = "om2p" ]; then case "$board" in
"om2p"|"om2p-hs")
service_start /sbin/om-watchdog 12 service_start /sbin/om-watchdog 12
elif [ "$board" = "om2p-lc" ]; then ;;
"om2p-lc")
service_start /sbin/om-watchdog 26 service_start /sbin/om-watchdog 26
fi ;;
esac
else else
#we assume it is om1p in this case #we assume it is om1p in this case
service_start /sbin/om-watchdog 3 service_start /sbin/om-watchdog 3