Hi there all,
I have a script I have written that I am trying to run on start up. I have put the command in rc.local file but when the computer loads up it trys to run the script over the 'login' entry instead of running it in the background. This causes an issue as my script uses hcitool amongst other bluez commands and it seems that it cannot access these until I have logged in.
To get the program to run correctly I have to enter my login details and then action the script again whereby it works perfectly.
my rc.local file looks like this;
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
mycommand &
I have tried running the command without the '&' but still it doesn't work.
Any help would be greatly appreciated.
Cheers
Joe