summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2011-12-22 20:29:13 +0100
committerlassulus <lassulus@googlemail.com>2011-12-22 20:29:13 +0100
commitc4f2092a9528106a0726c48bbcf55d4bea6d7b68 (patch)
treea730a9374ebc222d2449a7cc8d265fb376ab1bd5 /retiolum/scripts/tinc_setup
parentd08715d96583edcfb2f70d8dcae8fdc8233f04c7 (diff)
more testing...
Diffstat (limited to 'retiolum/scripts/tinc_setup')
-rwxr-xr-xretiolum/scripts/tinc_setup/tinc-up2
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