I'm having some issues getting a script to run at boot on my new XBMCbuntu install.
I have created a script called xboxdrv to setup 4 wireless xbox 360 pads. The script is executable and runs fine from a command window:
$/etc/xboxdrv start
However when I add that line to rc.local (as below) I get nothing:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Start xboxdrv controllers using custom start-up script
/etc/xboxdrv start
exit 0
I've made sure rc.local is executable. The script writes logs to file but nothing is written on boot so I assume its not executing at all.
Anyone got any ideas?