autostart.shscript runs at the start of userspace boot. It can be used to run commands before Kodi starts. It does not exist by default, but you can create it using nano.
autostart.shrequire you to "background" and delay the commands, e.g. the following script sleeps for 20 seconds and then runs a
kodi-sendcommand to update the video library.
autostop.shscript runs during the shutdown process, but before the network is shutdown. It does not exist by default, but you can create it using nano.
autostart.shscript you can place any commands in the script, and they will block the shutdown process for up to 5 minutes and then will be terminated automatically.
autostop.shis avalable as of LibreELEC 10.0.2 or LibreELEC 11 nightlies 2022-02-04.
shutdown.shscript run during the shutdown process. It does not exist by default, but you can create it using nano.
autostart.shscript the network stack will not be up when the script runs and the
shutdown.shscript should follow the following template to ensure commands are executed during the correct event, i.e. you can run different commands for a
haltevent, or put commands outside the
case ... esacas a catch-all.