File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 2.6.2] - Unreleased
4+ ### Fixed
5+ - Remove firstboot service on Raspberry Pi image >= 2.5 which was causing services to stay stopped after a reboot. #436
6+ - Autorefresh timeout is now 90s. #426
37## [ 2.6.1] - 2024-08-26
48### Changed
59 - More tests before installing prebuilt RTKLib cli tools.
Original file line number Diff line number Diff line change 22
33[general]
44# Version
5- version=2.6.1
5+ version=2.6.2
66# Rtkbase upgrade mandatory "checkpoint"
77checkpoint_version=2.7.0
88# User who runs str2str_file service
Original file line number Diff line number Diff line change @@ -207,6 +207,24 @@ upd_2.6.0() {
207207 then
208208 " ${destination_directory} " /tools/install.sh --user " ${standard_user} " --rtklib
209209 fi
210+ upd_2.6.1 " $@ "
211+ }
212+
213+ upd_2.6.1 () {
214+ # Remove firstboot service from the Raspberry 2.5 and 2.6 images
215+ # This service should have been removed after the first boot, but
216+ # wasn't and was stopping various RTKBase services at each boot.
217+ if [[ -f /etc/os-release ]]
218+ then
219+ source /etc/os-release
220+ fi
221+
222+ if [[ $ID == debian ]] && systemctl list-units firstboot.service
223+ then
224+ systemctl disable --now firstboot.service
225+ rm /lib/systemd/system/firstboot.service
226+ systemctl daemon-reload
227+ fi
210228}
211229
212230# check if we can apply the update
You can’t perform that action at this time.
0 commit comments