I have a c program, I compiled it and created an object file. I need that to run automatically when I boot up. can anyone please help me in detail steps. I tried few things which I found in internet but none of them worked fine.
thank you.
Code: Select all
@reboot root /bin/echo none > /sys/class/leds/led1/trigger
Code: Select all
@reboot root sleep 60;/bin/echo none > /sys/class/leds/led1/trigger