From bd20933cc751fb99eef20e0560e5056dcc3d8b9e Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 9 Nov 2011 11:58:59 +0100 Subject: //retiolum install.sh: use fillxx for IPv4 (inactive) --- retiolum/scripts/tinc_setup/install.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'retiolum/scripts') 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 -- cgit v1.2.3