deluge-vpn
deluge-vpn copied to clipboard
getnetmask issue
I was trying to use this on the latest Raspbian (Kernel version:4.14). I have a problem with 'getnetmask' function.
[ $a -le $PREFIX ]
this is calling 'unary operator expected', so I've found out about this -le
and I was trying to make it right, but no mather what I do, it's always coming with some other error.. like integer expected.. command not found.. or even file not found..
Is this because I'm trying to use it on Raspberry Pi, or maybe this is fixable?
Hi
Can you print the values of IP
and PREFIX
?
Add statements in the beiginning of getnetmask
:
echo "IP: $IP"
echo "PREFIX: $PREFIX"