I want to make something start up after the next reboot, but only once, and not after any other reboot. Just like your first boot of a Haiku image off a USB stick runs the Installer, and whether you use it or not (maybe you just want to always run it off the stick, for instance) it never runs on startup after that. How can I do something like that, like a one-time reminder for next bootup?
If I mount a freshly downloaded image and compare the following directories in it to my installed boot drive:
/image/home/config/boot
/image/system/boot
/image/common/boot
...the files are identical. So how does Haiku know whether the run-once installer has been run? Not from there, anyway...
Update: I did find the file /image/common/settings/fresh_install
that did not exist on my install, containing the text "This file is only supposed to exist on fresh Haiku installations." However, copying it to my install and rebooting only resulted in the MIME type updater running again, not the installer.