bad interpreter when trying to run a shell file after reboot
Posted: 08 Sep 2008, 18:39
I've been running my bubba for many, many days. But was forced to reboot it because of external circumstances.
I've been using a script to update my IP address at Loopia (a swedish ISP) to solve the dynamic IP with a domain.
I'm using the following script at:
https://loopiadns.loopia.se/index.php?tmid=2&lcid=212
#!/bin/sh
curl -s --user 'användarnamn:lösenord'
"http://dns.loopia.se/XDynDNSServer/XDynDNS.php?
hostname=dindomän.se&
myip="`curl -s dns.loopia.se/checkip/checkip.php |
sed 's/^.*: \([^<]*\).*$/\1/'` ; echo
After running the script after the reboot I get the following error:
# ./loopiadns.sh
: bad interpreter: No such file or directory
What's wrong?
I've been using a script to update my IP address at Loopia (a swedish ISP) to solve the dynamic IP with a domain.
I'm using the following script at:
https://loopiadns.loopia.se/index.php?tmid=2&lcid=212
#!/bin/sh
curl -s --user 'användarnamn:lösenord'
"http://dns.loopia.se/XDynDNSServer/XDynDNS.php?
hostname=dindomän.se&
myip="`curl -s dns.loopia.se/checkip/checkip.php |
sed 's/^.*: \([^<]*\).*$/\1/'` ; echo
After running the script after the reboot I get the following error:
# ./loopiadns.sh
: bad interpreter: No such file or directory
What's wrong?