From 0a5c01a5d8fae01e9062fa7bb7cc06ae82bd8b1a Mon Sep 17 00:00:00 2001 From: Adrian Batzill Date: Sun, 24 Mar 2024 13:46:29 +0100 Subject: [PATCH] correctly apply overlay after update script execution --- selfupdate/update_header.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfupdate/update_header.sh b/selfupdate/update_header.sh index 82da14c9..a09803a0 100755 --- a/selfupdate/update_header.sh +++ b/selfupdate/update_header.sh @@ -81,7 +81,7 @@ cd / rm -rf /root/stratux-update # re-enable overlay if it is configured. TODO: switch to jq for json parsing in the future once it's available in all installations -if [ "$(cat /boot/stratux.conf | grep 'PersistentLogging.:true')" != "" ]; then +if [ "$(cat /boot/stratux.conf | grep 'PersistentLogging.:\s*true')" != "" ]; then /sbin/overlayctl disable else /sbin/overlayctl enable