kopia lustrzana https://github.com/cyoung/stratux
correctly apply overlay after update script execution
rodzic
e28558aac1
commit
0a5c01a5d8
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue