correctly apply overlay after update script execution

pull/827/head
Adrian Batzill 2024-03-24 13:46:29 +01:00
rodzic e28558aac1
commit 0a5c01a5d8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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