om-watchdog: Move each board name to its own line
authorJohn Crispin <john@openwrt.org>
Thu, 3 Mar 2016 20:24:35 +0000 (20:24 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 3 Mar 2016 20:24:35 +0000 (20:24 +0000)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 48890

package/kernel/om-watchdog/files/om-watchdog.init

index 47105f27735baafab5e53b47f06e077458762e70..d68fb15d60896793279c4889795b95b77cfbf2ae 100644 (file)
@@ -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