Skip to content
Snippets Groups Projects
Commit 285e1814 authored by David Bauer's avatar David Bauer
Browse files

gluon-setup-mode: execute bootcount initscript in setup-mode


Currently Gluon does not execute the bootcount scripts when booting in
setup-mode.

While this is usually not issue after the first installation has
completed, it might lead to devices with an A/B partition layout to
switch active partitions after the device has been rebooted multiple
times before the initial configuration.

Fix this by executing the bootcount reset initscript.

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
(cherry picked from commit 5c064002)
parent 0be35204
Branches
Tags
No related merge requests found
#!/bin/sh /etc/rc.common
if [ -x /etc/init.d/bootcount ] && /etc/init.d/bootcount enabled; then
. /etc/init.d/bootcount
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment