@erdmaennchen: I'm not sure if you're having the same problem I was but it sounds like it.
Line 647 (i haven't upgraded to the new version yet) shows this:
Code:
apdns=$(grep nameserver /etc/resolv.conf | awk '{print $2}')
When I run this command on my own I get 2 IP addresses returned:
Code:
root@bt:~# grep nameserver /etc/resolv.conf | awk '{print $2}'
192.168.1.1
xxx.xxx.2.25
Obviously I just want the 192.168.1.1 address and the error is caused by the command returning 2 when 1 is expected.
I changed line 647 to this:
Code:
apdns=$(grep nameserver /etc/resolv.conf | awk 'NR==1 {print $2}')
And if I run this command in a command line:
Code:
root@bt:~# grep nameserver /etc/resolv.conf | awk 'NR==1 {print $2}'
192.168.1.1
Problem solved