I'm trying to make a bash script that launches differents cores / rom i1 by 1 with a timer.
Something like that :
Code: Select all
#!/bin/bash
/media/fat/MiSTer /media/fat/_Arcade/cores/jtcps1_20201010.rbf "/media/fat/_Arcade/_Unofficial/_CPS1/Street Fighter II' Hyper Fighting -World 921209-.mra"
sleep 100
killall MiSTer
/media/fat/MiSTer /media/fat/_Arcade/cores/jtcps1_20201010.rbf "/media/fat/_Arcade/_Unofficial/_CPS1/Street Fighter Zero -CPS Changer, Japan 951020-.mra"
sleep 100
killall MiSTer
# etc
Code: Select all
for i in `ls`;
do ... ;
done
I guess I miss a "run/start" parameter in the commandline ?
Any idea ? Thanks !