Run command at start?
-
I am trying to run SNESDev when retropie boots. I am not sure what the proper way to do this is. Currently I can manually run sudo SNESDev and everything works correctly.
-
@onesojourner Ok, have not given up on snesdev yet since it is working. I just need it to start when the system boots.
If I run
Sudo /user/local/bin/SNESDev &I get my controller working and I can shut down my ssh session and things continue to work. I tried to run:
sudo nano /etc/rc.localAnd added Sudo /user/local/bin/SNESDev &
Before and after the exit but it still did not allow my controller to be used.
Does anyone have any tips for getting this to run at boot?
-
@onesojourner linux is case sensitive. There's no command named
Sudo
. Its name issudo
. -
Also if you are using the module from the setup script it should be set to run on boot automatically or at least has an option for it.
-
Sorry, that was a smart phone correction. It is all lowercase.
I have ran the option to have SNESDev start at boot but it has no effect.
-
@onesojourner vaguely remember a post somewhere about it initialising too late or something where adding a sleep function may have helped... I haven't really used it myself
-
I ended up setting up a cron job and got this working.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.