From f512fe32bd7ed8f2ccee6068291c14206a580837 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Thu, 27 Aug 2020 13:17:20 +0100 Subject: [PATCH] make the config un-install directory configurable, for Ubuntu --- uninstall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uninstall.sh b/uninstall.sh index 0334104..7bdf16b 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -14,6 +14,8 @@ fi uname_r=$(uname -r) CONFIG=/boot/config.txt +[ -f /boot/firmware/usercfg.txt ] && CONFIG=/boot/firmware/usercfg.txt + get_overlay() { ov=$1 if grep -q -E "^dtoverlay=$ov" $CONFIG; then