summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup/install.sh
diff options
context:
space:
mode:
authortv <tv@iiso>2011-11-09 22:22:10 +0100
committertv <tv@iiso>2011-11-09 22:22:10 +0100
commit661ae4c1b74121cb17d5acfd78ba1f8e23fd825f (patch)
treedc21179ccf25e2862f631c74312a4a9ffb0b7856 /retiolum/scripts/tinc_setup/install.sh
parent7f42a33451d1b0e4fbfbe20c53bebd2d181927d9 (diff)
//retiolum install.sh: more ipv4-adaptions
Diffstat (limited to 'retiolum/scripts/tinc_setup/install.sh')
-rwxr-xr-xretiolum/scripts/tinc_setup/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh
index 484b5e1d..d1b284ac 100755
--- a/retiolum/scripts/tinc_setup/install.sh
+++ b/retiolum/scripts/tinc_setup/install.sh
@@ -39,7 +39,7 @@ then
# 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
+ mynet4=42.0.0.0
if [ ! "$myipv4" ]
then
@@ -50,7 +50,7 @@ then
printf 'select unused v4 subnet ip (1-255): '
read v4num
done
- myipv4="10.7.7.$v4num"
+ myipv4="42.0.0.$v4num"
fi
echo "Subnet = $myipv4" > hosts/$myname