Answer the question
In order to leave comments, you need to log in
Why doesn't the autorun of the program through rc.local work correctly when loading armbian?
I'm trying to organize the autostart of the program when starting Armbian on Orange Pi Lite via rc.local.
A simple program, dust_s, written in C, which polls the sensor via UART and writes information to a file, if run through the console, it works fine.
When writing the line "sudo /*full_path*/dust_s &" to rc.local, the program seems to run, but for some reason it does not write to the file. With what it can be connected?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question