user-startup.sh Not Working
Posted: Sun Apr 24, 2022 11:44 pm
I'm trying to run a script when booting up MiSTer. The script is called from /media/fat/linux/user-startup.sh, but doesn't seem to run when switching the MiSTer on, or when doing a cold reboot. The script works as expected when called manually via SSH, or via the OSD menu when placed in the /media/fat/Scripts folder. Is there a particular reason why scripts within user-startup.sh might not run? Is there a log I can view to do further diagnosis? I'm using the latest version of MiSTer. Thanks.
user-startup.sh
user-startup.sh
Code: Select all
#!/bin/bash
echo "***" $1 "***"
cd /media/fat/pixelcade && ./runpixelcade.sh