diff options
author | lassulus <lassulus@googlemail.com> | 2011-12-22 20:29:13 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2011-12-22 20:29:13 +0100 |
commit | c4f2092a9528106a0726c48bbcf55d4bea6d7b68 (patch) | |
tree | a730a9374ebc222d2449a7cc8d265fb376ab1bd5 /retiolum/scripts/tinc_setup/tinc-up | |
parent | d08715d96583edcfb2f70d8dcae8fdc8233f04c7 (diff) |
more testing...
Diffstat (limited to 'retiolum/scripts/tinc_setup/tinc-up')
-rwxr-xr-x | retiolum/scripts/tinc_setup/tinc-up | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/tinc-up b/retiolum/scripts/tinc_setup/tinc-up index 546e9170..6bd6746d 100755 --- a/retiolum/scripts/tinc_setup/tinc-up +++ b/retiolum/scripts/tinc_setup/tinc-up @@ -11,7 +11,7 @@ host=$dirname/hosts/$name ip link set $INTERFACE up addr4=`sed -n 's|^ *Subnet *= *\(10[.][^ ]*\) *$|\1|p' $host` -if [[ $addr4 == '' ]];then +if [ "$addr4" = '' ];then ip -4 addr add $addr4 dev $INTERFACE ip -4 route add 10.243.0.0/16 dev $INTERFACE else |