Startup scripts
Started by twofingerrightclick




1 posts in this topic
twofingerrightclick

 
Rainbow  02-06-21, 05:30 -
#1
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
hansehv

168 posts 17 threads Joined: Dec 2020
02-06-21, 21:20 -
#2
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
This post was last modified: 02-06-21, 21:23 by hansehv.