From 1fb1077ed00f3bd593ec717a6bcd3b6af010a0c2 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Sat, 15 Oct 2022 22:13:12 +0200 Subject: [PATCH] v8.10 - DietPi-Installer | Syntax --- .build/images/dietpi-installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.build/images/dietpi-installer b/.build/images/dietpi-installer index 86b5a8898b..a3a7c496e8 100644 --- a/.build/images/dietpi-installer +++ b/.build/images/dietpi-installer @@ -1526,7 +1526,7 @@ _EOF_' /boot/dietpi/func/dietpi-set_hardware serialconsole enable ttyAMA0 # ROCK Pi 4, ROCKPro64, NanoPi R4S and Quartz64 - elif (( $G_HW_MODEL == 72 || $G_HW_MODEL == 4[279] )) + elif [[ $G_HW_MODEL =~ ^(72|4[279])$ ]] then /boot/dietpi/func/dietpi-set_hardware serialconsole enable ttyS2