When you want to execute command while booting of your HTPC (before Kodi starts) you need to create (if it doesn't exist yet) file autostart.sh in .config directory
and make sure its executableecho "#!/bin/bash" > /storage/.config/autostart.sh
chmod +x /storage/.config/autostart.sh
Now anything you put there in the file will be executed as we wanted.
No comments:
Post a Comment