From 947b9a4e1915e9d63bdd8277e2024ac405788559 Mon Sep 17 00:00:00 2001 From: George Hung Date: Mon, 9 Nov 2020 11:20:08 +0800 Subject: meta-quanta: gbs: fix command parsing error for SATA present LED Fix get SATA present command parsing error due to the last change to the command parsing string (From meta-quanta rev: 529a8df55b2af8eed0d1eb0594a162cfff631aab) Signed-off-by: George Hung Change-Id: I86d2923b331e19b77dca784ffcf691c5e5f4f708 Signed-off-by: Andrew Geissler --- meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-quanta') diff --git a/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh b/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh index 9858404a0..68adfedef 100644 --- a/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh +++ b/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh @@ -122,7 +122,7 @@ set_hdd_prsnt() { return 1 fi # sata_prsnt_n is active low => value "true" means low - if [[ ${sata_prsnt_n} == "true" ]]; then + if [[ ${sata_prsnt_n} == "b true" ]]; then set_gpio_direction 'HDD_PRSNT_N' low else set_gpio_direction 'HDD_PRSNT_N' high -- cgit v1.2.3