From 3212a35810c656e1db1350522f3f1277b1b88d06 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 29 Aug 2018 16:06:29 -0500 Subject: Simpler check for MTCDTIPHP --- recipes-bsp/multitech/mts-io/mts-io.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init index c3c3216..a4a464e 100644 --- a/recipes-bsp/multitech/mts-io/mts-io.init +++ b/recipes-bsp/multitech/mts-io/mts-io.init @@ -190,7 +190,7 @@ set_gpslink() { # For all hardware except MTCDTIPHP, the gpscapability # flag indicates whether or not we have a GPS. - if ! [[ ${hw_name} =~ ^MTCDTIPHP$ ]] && ((gpscap == 0)) ; then + if [[ ${hw_name} != MTCDTIPHP ]] && ((gpscap == 0)) ; then return fi -- cgit v1.2.3