From e8f4b1e6ee570b454d4f2e97176628bcc089273b Mon Sep 17 00:00:00 2001 From: Mark Tomlin Date: Tue, 9 Jul 2024 16:56:10 -0400 Subject: [PATCH] Update install.sh Answers #209 by checking for the `/boot/firmware/config.txt` existence, and if found, setting `CONFIG_TXT_PATH` to it. --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 047dd49f..0cfca9ab 100755 --- a/install.sh +++ b/install.sh @@ -143,6 +143,9 @@ sudo ldconfig ## Configuration File - RPI /boot/config.txt ## -------------------------------------------------------------------- CONFIG_TXT_PATH="/boot/config.txt" +if [ -f "/boot/firmware/config.txt" ]; then + CONFIG_TXT_PATH="/boot/firmware/config.txt" +fi if grep -iq "NAME=\"Ubuntu\"" /etc/os-release; then CONFIG_TXT_PATH="/boot/firmware/config.txt" fi