Quote:
Originally Posted by thcrt
Actually… I got it working
After a tedious amount of mucking about with shell scripts in a million places, I managed to find the right magic directory to put mine in. I also wasted an embarrassing amount of time before realising I forgot to set the executable permission (in my defence… systemD unit files don’t need it, obviously, and my mental model wasn’t set up for a system of just shell scripts).
I’ll make a post later on with the exact method I used, which involves adding a script to /etc/rc5.d. If it’s not too difficult I may create a MRPI package since at first glance those seem to be buildable out of just a shell script. I’ll look into it further when I get home later today.
|
That is awesome! If and when you do get around to posting your method, I'd love to do the same! Thanks in advance