AndreWicked Posted July 7, 2018 Share Posted July 7, 2018 Explain it on your fingers, or I do not understand. How can I make my python script run when I turn on my NanoPI, without logging in, without entering a login, password? Link to comment Share on other sites More sharing options...
martinayotte Posted July 7, 2018 Share Posted July 7, 2018 Start it in /etc/rc.local as a background task using ampersand and make sure it is located before the "exit 0" Link to comment Share on other sites More sharing options...
AndreWicked Posted July 8, 2018 Author Share Posted July 8, 2018 21 hours ago, martinayotte said: Start it in /etc/rc.local as a background task using ampersand and make sure it is located before the "exit 0" It turned out to be added to the autorun, thanks, but the problem now is different, if you run the script from the root's folder, Autorun does not work, and if from the user's folder, the information from the reader is not written to the file. How I may to fix this? Link to comment Share on other sites More sharing options...
Recommended Posts