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.
This commit is contained in:
Matthias Schiffer 2015-01-22 23:53:56 +01:00
parent addb4ee7a2
commit 0da6354ddd
1 changed files with 1 additions and 0 deletions

View File

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