I am trying to create an interactive startup script for LibreELEC. Specifically, I want to mount a folder using sshfs with password authentication (not key auth).
I tried adding my commands to autostart.sh, but it looks like that is run in the background and Kodi gets started without prompting the user. Is there any way to execute a script with an interactive password input BEFORE Kodi gets started?
Thanks for your help!