projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a52663
)
AA: package/om-watchdog: add OM2P-HS support
author
Gabor Juhos
<
[email protected]
>
Wed, 17 Oct 2012 15:26:56 +0000
(15:26 +0000)
committer
Gabor Juhos
<
[email protected]
>
Wed, 17 Oct 2012 15:26:56 +0000
(15:26 +0000)
Backport of r33801.
Signed-off-by: Marek Lindner <
[email protected]
>
Signed-off-by: Gabor Juhos <
[email protected]
>
SVN-Revision: 33809
package/om-watchdog/files/om-watchdog.init
patch
|
blob
|
history
diff --git
a/package/om-watchdog/files/om-watchdog.init
b/package/om-watchdog/files/om-watchdog.init
index 3d2666b2146732ef210d76321fa9ba4cfa21c566..bb44aa49716608a543cddce7e88e5712db5ff448 100644
(file)
--- 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