Thread: Dyndns & SSH
View Single Post
Posts: 125 | Thanked: 67 times | Joined on Sep 2009 @ Finland
#15
I had to change the first row

#!/bin/bash

to

#!/bin/sh

and then the script worked correctly. Don't know although does it work each time I disconnect gprs-connection. At least the shell-script works now.

EDIT: yeah, now it works like I think it should work. Really nice. Only dynds-domain to remember now. Thanks a LOT!
__________________
That that doesn't kill you, is going to hurt like hell. Or leave a scar.
I am not a coder, not a tablet heavy user, N900 is first one for me.
My only asset in here is cool head and common sense.
Stupidity is the thing I hate the most.
 

The Following 2 Users Say Thank You to Soulfarmer For This Useful Post: