summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@iiso>2011-11-09 11:58:59 +0100
committertv <tv@iiso>2011-11-09 11:58:59 +0100
commitbd20933cc751fb99eef20e0560e5056dcc3d8b9e (patch)
tree1ca2162bc2e0d3d99f176ecec01c1ea9e135188b
parentccfdccb6402c3efccd62d56056c54f2930b03f3f (diff)
//retiolum install.sh: use fillxx for IPv4 (inactive)
-rwxr-xr-xretiolum/scripts/tinc_setup/install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh
index 2198589b..484b5e1d 100755
--- a/retiolum/scripts/tinc_setup/install.sh
+++ b/retiolum/scripts/tinc_setup/install.sh
@@ -34,6 +34,10 @@ then
fi
if [ ! -e "hosts/$myname" ]
then
+
+ # TODO eloop until we found a free IPv4
+ # myipv4=$(echo 42.$(for i in `seq 1 3`; do echo "ibase=16;`bin/fillxx xx|tr [a-f] [A-F]`" | bc; done)|tr \ .)/32
+
myipv4="${2:-}"
mynet4=10.7.7.0