AndreWicked Posted July 7, 2018 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?
martinayotte Posted July 7, 2018 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"
AndreWicked Posted July 8, 2018 Author 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?
Recommended Posts