1 2 3 4 5 6 7
#!/bin/bash #Stop XScreensaver stop_xss.sh & #Launch XBMC /usr/bin/xbmc --lircdev /var/run/lirc/lircd #Once XBMC exits, kill stop xss killall stop_xss.sh