diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-10-17 08:26:03 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-10-17 08:26:03 +0000 |
commit | 15949b84a1aa5074a1d741093d19085d08f0fab1 (patch) | |
tree | a9b3984798a326ac07d28df94674cca4c5d11d9e /package/om-watchdog/files | |
parent | c5a32cfc9270d17f9b150ed2fb0aff44d56ee24d (diff) | |
download | upstream-15949b84a1aa5074a1d741093d19085d08f0fab1.tar.gz upstream-15949b84a1aa5074a1d741093d19085d08f0fab1.tar.bz2 upstream-15949b84a1aa5074a1d741093d19085d08f0fab1.zip |
package/om-watchdog: add OM2P-HS support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33801
Diffstat (limited to 'package/om-watchdog/files')
-rw-r--r-- | package/om-watchdog/files/om-watchdog.init | 13 |
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 3d2666b214..bb44aa4971 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 |