Downloader.ini Question

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Downloader.ini Question

Unread post 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.
bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: Downloader.ini Question

Unread post 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 
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Downloader.ini Question

Unread post 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?
Post Reply