The bash script was intended to do the following:
- Stop XBMC
- Perform some tasks
- Start XBMC
But when the script stops XBMC it also kills itself, leaving me with a black screen.
The script needs to keep running to perform the tasks and then start XBMC again. How can I achieve this?If I remember correctly the entry in the remote.xml looks like this:
Code:
<clear>System.Exec("sudo sh /etc/X11/toggle.sh &")</clear>I have used the following commands to stop and start XBMC (is there a better way?):
Code:
sudo /etc/init.d/xbmc-live stop
sudo /etc/init.d/xbmc-live startI have disabled the sudo password.

Search
Help