aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/om-watchdog
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-03 20:24:35 +0000
committerJohn Crispin <john@openwrt.org>2016-03-03 20:24:35 +0000
commit8fb8b78bb214c7714a0c0a610ac86c81a5f5290f (patch)
treed7ed49915b027c0b4e6c9ec9443c05cb19c503d3 /package/kernel/om-watchdog
parentab196b75ea5e556848a84556d9ce54f57a4308e2 (diff)
downloadupstream-8fb8b78bb214c7714a0c0a610ac86c81a5f5290f.tar.gz
upstream-8fb8b78bb214c7714a0c0a610ac86c81a5f5290f.tar.bz2
upstream-8fb8b78bb214c7714a0c0a610ac86c81a5f5290f.zip
om-watchdog: Move each board name to its own line
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 48890
Diffstat (limited to 'package/kernel/om-watchdog')
-rw-r--r--package/kernel/om-watchdog/files/om-watchdog.init14
1 files changed, 10 insertions, 4 deletions
diff --git a/package/kernel/om-watchdog/files/om-watchdog.init b/package/kernel/om-watchdog/files/om-watchdog.init
index 47105f2773..d68fb15d60 100644
--- a/package/kernel/om-watchdog/files/om-watchdog.init
+++ b/package/kernel/om-watchdog/files/om-watchdog.init
@@ -16,19 +16,25 @@ get_gpio() {
local board=$(ar71xx_board_name)
case "$board" in
- "om2p"|"om2p-hs"|"om2p-hsv2")
+ "om2p" | \
+ "om2p-hs" | \
+ "om2p-hsv2")
return 12
;;
- "om2pv2"|"om2p-lc")
+ "om2pv2" | \
+ "om2p-lc")
return 26
;;
- "om5p"|"om5p-an")
+ "om5p" | \
+ "om5p-an")
return 11
;;
"mr600v2")
return 15
;;
- "mr900"|"mr900v2"|"mr1750")
+ "mr900" | \
+ "mr900v2" | \
+ "mr1750")
return 16
;;
esac