diff options
author | tv <tv@iiso> | 2011-11-09 22:22:10 +0100 |
---|---|---|
committer | tv <tv@iiso> | 2011-11-09 22:22:10 +0100 |
commit | 661ae4c1b74121cb17d5acfd78ba1f8e23fd825f (patch) | |
tree | dc21179ccf25e2862f631c74312a4a9ffb0b7856 /retiolum/scripts/tinc_setup/install.sh | |
parent | 7f42a33451d1b0e4fbfbe20c53bebd2d181927d9 (diff) |
//retiolum install.sh: more ipv4-adaptions
Diffstat (limited to 'retiolum/scripts/tinc_setup/install.sh')
-rwxr-xr-x | retiolum/scripts/tinc_setup/install.sh | 4 |
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 |