I noticed that when OnionOS auto launches something at boot (e.g. if booting into GameSwitcher is enabled, or Onion auto-resumes a game), syncthing won't start until you exit to MainUI.
To reproduce:
Set the startup application to anything except MainUI (e.g. GameSwitcher) and shut down the device
OR shut down the device while playing a game
Boot the device and wait until it enters the GameSwitcher (or the game)
Notice that Syncthing hasn't started yet and you can't access the Syncthing WebGUI
This is likely because the app injects the checkrun.sh call into runtime.sh after auto launch occurs, so it never makes it there. Moving the checkrun.sh call to right before the auto launch section seems to fix the issue.
I noticed that when OnionOS auto launches something at boot (e.g. if booting into GameSwitcher is enabled, or Onion auto-resumes a game), syncthing won't start until you exit to MainUI.
To reproduce:
This is likely because the app injects the
checkrun.sh
call intoruntime.sh
after auto launch occurs, so it never makes it there. Moving thecheckrun.sh
call to right before the auto launch section seems to fix the issue.