Booting a bash file at startup
-
I'm sure this has been posted before but i have a bashfile i want to boot into at start up. I found the thread discussing the autostart.sh folder, just not sure what i would need to add to it to point to the bash file.
-
You would just add the path to the bash script in the autostart.sh file. For example -
pi@retropie:~ $ cat /opt/retropie/configs/all/autostart.sh /path/to/your/bashscript.sh emulationstation #auto
Also, ensure your bash script has the executable bit set:
chmod a+x /path/to/your/bashscript.sh
-
@rablack97 Depending on what your bash script does, maybe the
autostart.sh
isn't the best approach... Maybe putting/etc/rc.local
can works better for your purpose. -
@meleu it's a command line for daphne i want the pie to boot straight to DL.
where would i put that command?
-
@rablack97 and not launch emulationstation?
-
@meleu yes
Modifying the autostart.sh worked
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.