Hi Everyone,
Since some days, Timezone script doesn't work properly. I get this message : "/tmp/script: /media/fat/scripts/timezone.sh: /bin/bash^M: bad interpreter: no such file or Directory". I don't have a RTC card, but my MiSTer is connected on my switch with an ethernet cable.
Can you help me ? Thank you in advance
Timezone Script Doesn't Work
Re: Timezone Script Doesn't Work
I don't understand, I just now reboot by miSTer, and miracle, the time is now correct...
You can close this topic
You can close this topic
-
- Top Contributor
- Posts: 531
- Joined: Tue May 26, 2020 5:06 am
- Has thanked: 87 times
- Been thanked: 211 times
Re: Timezone Script Doesn't Work
Before closing topic...
Just FYI :
^M is the carriage return character and should not appear in a Unix script. DOS/Windows uses a carriage return(0x0A) + linefeed (0x0D) to terminate a line and and Unix simply uses a linefeed.
Anytime you see this it is most likely because the file has been edited or created on Windows in an editor that does properly deal with Unix style files.
Hope that helps...
Just FYI :
^M is the carriage return character and should not appear in a Unix script. DOS/Windows uses a carriage return(0x0A) + linefeed (0x0D) to terminate a line and and Unix simply uses a linefeed.
Anytime you see this it is most likely because the file has been edited or created on Windows in an editor that does properly deal with Unix style files.
Hope that helps...