HomSpace Forum
Startup scripts - Printable Version

+- HomSpace Forum (https://homspace.nl/forum)
+-- Forum: SamplerBox (https://homspace.nl/forum/forum-1.html)
+--- Forum: Community (https://homspace.nl/forum/forum-2.html)
+--- Thread: Startup scripts (/thread-41.html)



Startup scripts - twofingerrightclick - 02-06-21

Hello,

Anyone no where the magical start up tasks are? Like what scripts get called (they aren't in the github repo) to start samplerbox.py and also copy all the WIFI info to the right files and start the access point? How are they registered to start by the OS after boot?

Cheers,

twofingerrightclick


RE: Startup scripts - hansehv - 02-06-21

Nothing magic. Both samplerbox and autohotspot are defined as systemd services (hence the references to the "systemctl" command).
The wifi*.txt files are linked to from the respective system directories and grouped in the configuration directory to make configuring more user friendly. The wifi*.txt files contain information which actual system file they substitute.
The system has to be stage proof = readonly, so no copying.
Only script not on github is autohotspot as it is the excellent documented script by Roboberry with a just few minor changes (link also in the credits paragraph of the About tab and ofcourse the script itself).
You can find all this and a lot more interesting info in the docs as well as during usage.
Have fun, Hans