user-startup.sh Not Working

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
User avatar
UrkelMoeDee
Posts: 10
Joined: Sun Apr 24, 2022 11:25 pm
Has thanked: 2 times
Been thanked: 1 time

user-startup.sh Not Working

Unread post by UrkelMoeDee »

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

Code: Select all

#!/bin/bash

echo "***" $1 "***"
cd /media/fat/pixelcade && ./runpixelcade.sh
User avatar
UrkelMoeDee
Posts: 10
Joined: Sun Apr 24, 2022 11:25 pm
Has thanked: 2 times
Been thanked: 1 time

Re: user-startup.sh Not Working

Unread post by UrkelMoeDee »

I resolved this by reinstalling MiSTer on my SD card. I don't know what went wrong with my initial install, but it works now.
Post Reply