Maybe something like this?
https://unix.stackexchange.com/quest...ation-on-linux
Edit: a couple of Kobo example projects:
https://www.mobileread.com/forums/sh...d.php?t=332127
https://www.mobileread.com/forums/sh...d.php?t=355368
But it would be much less work to get the startup script working. You will have to run some tests or find an alternate way of running startup scripts. Only YOU can do this, so if that's more work than you expected, well, that's not uncommon for these quirky devices...