Skip to content
Snippets Groups Projects
Commit 8e33dd50 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-setup-mode: always finalize the overlay before rebooting

When an early reboot is triggered because an upgrade script has disabled the
config mode, we need to explicitly call /etc/init.d/done, otherwise the overlay
will not be finalized after a firstboot and we get an endless reboot loop.
parent 3de151c2
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ boot() {
else
# This can happen after an upgrade from a version before the config file was called gluon-setup-mode
# We'll just reboot to return to the normal mode...
/etc/init.d/done boot
reboot
fi
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment