summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup
diff options
context:
space:
mode:
authorLassulus <lassulus@googlemail.com>2012-12-10 02:01:05 +0100
committerLassulus <lassulus@googlemail.com>2012-12-10 02:01:05 +0100
commit5390ca9c00a2a49b452329da9c1dc6d28cd49a6d (patch)
tree09ae7cd7e5cc7a757054041d1a58884fc62106e4 /retiolum/scripts/tinc_setup
parent8253b111a9d61ff9763bf6bf588c852a5a948c84 (diff)
removed debug output
Diffstat (limited to 'retiolum/scripts/tinc_setup')
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh
index cc9746b5..e5f99f71 100755
--- a/retiolum/scripts/tinc_setup/new_install.sh
+++ b/retiolum/scripts/tinc_setup/new_install.sh
@@ -264,7 +264,6 @@ done
until check_ip_taken $IP6; do
if [ $RAND6 -eq 1 ]; then
NETLENGTH=$(expr $(expr 128 - $MASK6) / 4)
- echo $NETLENGTH
IP6="$SUBNET6$(head /dev/urandom | tr -dc "0123456789abcdef" | head -c$NETLENGTH | sed 's/..../:&/g')" #todo: generate ip length from hostmask
else
printf 'ip taken, choose new ip: '