cifs_mount

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
ded
Posts: 2
Joined: Mon Jun 08, 2020 9:01 pm

cifs_mount

Unread post by ded »

I've been setting up my MiSTer today, and I've successfully gotten it connected to wi-fi, run the update script and everything seems to be working... Except I can't seem get cifs_mount.sh to work; I believe I've set the parameters correctly within the ini, but I get the follow error, for which I've been unable to find any help through searching Google:
/bin/bash^M bad interpreter: No such file or directory
Any possible solutions?
ExCyber
Posts: 218
Joined: Sun May 24, 2020 3:33 pm
Has thanked: 11 times
Been thanked: 66 times

Re: cifs_mount

Unread post by ExCyber »

This looks like what I'd expect if you edited the file with a Windows text editor that saved DOS/Windows-style line endings (CRLF). Some Windows text editors can be convinced to save with Unix-style line endings (LF), but exactly how to do it varies by editor. Sometimes it's a file type selection in the "Save As..." dialog, for example.

Alternatively, the dos2unix utility is available in the MiSTer Linux system if you're set up for SSH and know your way around the command line.
ded
Posts: 2
Joined: Mon Jun 08, 2020 9:01 pm

Re: cifs_mount

Unread post by ded »

That was exactly it, thanks!
Post Reply