Page 1 of 1

Downloader.ini Question

Posted: Thu May 12, 2022 8:21 pm
by jca
I my ini file I have:
; base_path is where most commonly installed files will be placed (cores, MRAs, Scripts, etc).
base_path = '/media/usb0/'

I want to keep the Scripts directory on the SD card. Is there a way to do it and how?
At the moment I have one on the SD card and one on the USB drive.

Re: Downloader.ini Question

Posted: Thu May 12, 2022 10:05 pm
by bbond007
jca wrote: Thu May 12, 2022 8:21 pm I want to keep the Scripts directory on the SD card. Is there a way to do it and how?
At the moment I have one on the SD card and one on the USB drive.
Perhaps there is a better way, but you could always use a simlink.

Simply link the "Scripts" on the USB folder link to /media/fat scripts/

example:

Code: Select all

ln -s /media/usb0/Sctipts /media/fat/Scripts 

Re: Downloader.ini Question

Posted: Thu May 12, 2022 11:50 pm
by jca
Thanks,
The way my MISTer is setup is:
Almost everything on the USB drive and symlinks from the SD card to the USB drive.
I wanted to keep the Scripts directory on the SD card as I have scripts starting automatically on boot and the USB drive takes some time before being mounted. I could put them somewhere else on the SD card.
Does MISTer start the scripts by just invoking the script name or bash <scriptname> as USB drives are mounted with the MeExec option?