aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-17 15:26:56 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-17 15:26:56 +0000
commitbe98b0dba988baf195b6a8654a0117d9b1aa7770 (patch)
tree20d4216c2dedb20e8a7b1339e1efb2d9d31297df /package
parent7adef1244d50e8637bd1722a440a14f209b4b939 (diff)
downloadopenwrt-be98b0dba988baf195b6a8654a0117d9b1aa7770.tar.gz
openwrt-be98b0dba988baf195b6a8654a0117d9b1aa7770.zip
AA: package/om-watchdog: add OM2P-HS support
Backport of r33801. 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/branches/attitude_adjustment@33809 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/om-watchdog/files/om-watchdog.init13
1 files changed, 8 insertions, 5 deletions
diff --git a/package/om-watchdog/files/om-watchdog.init b/package/om-watchdog/files/om-watchdog.init
index 3d2666b21..bb44aa497 100644
--- a/package/om-watchdog/files/om-watchdog.init
+++ b/package/om-watchdog/files/om-watchdog.init
@@ -12,11 +12,14 @@ boot() {
. /lib/ar71xx.sh
local board=$(ar71xx_board_name)
- if [ "$board" = "om2p" ]; then
- service_start /sbin/om-watchdog 12
- elif [ "$board" = "om2p-lc" ]; then
- service_start /sbin/om-watchdog 26
- fi
+ case "$board" in
+ "om2p"|"om2p-hs")
+ service_start /sbin/om-watchdog 12
+ ;;
+ "om2p-lc")
+ service_start /sbin/om-watchdog 26
+ ;;
+ esac
else
#we assume it is om1p in this case
service_start /sbin/om-watchdog 3