View Single Post
Old 10-23-2024, 10:03 AM   #8
thcrt
Junior Member
thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!thcrt rocks like Gibraltar!
 
Posts: 4
Karma: 100000
Join Date: Oct 2024
Device: Kindle PW3, Kindle K4B, Kindle K4S
Quote:
Originally Posted by j.p.s View Post
I suspect that even if you were experienced and comfortable with both SysVinit and general kindle hacking you would still have a long tough road ahead of you.
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.
thcrt is offline   Reply With Quote