[OpenWrt-Devel] [PATCH 2/2] om-watchdog: Move each board name to its own line
Sven Eckelmann
sven.eckelmann at open-mesh.com
Tue Mar 1 08:58:25 EST 2016
From: Sven Eckelmann <sven.eckelmann at open-mesh.com>
Signed-off-by: Sven Eckelmann <sven.eckelmann at open-mesh.com>
---
package/kernel/om-watchdog/files/om-watchdog.init | 14 ++++++++++----
1 file 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 47105f2..d68fb15 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
--
2.7.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list