From 9b29cf3939802ab1cf634e6185f5b0beac52e590 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 8 Jan 2013 04:55:39 +0700 Subject: new_install: start tinc when finished --- retiolum/scripts/tinc_setup/new_install.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'retiolum/scripts') diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh index 410dce62..85a61be8 100755 --- a/retiolum/scripts/tinc_setup/new_install.sh +++ b/retiolum/scripts/tinc_setup/new_install.sh @@ -402,3 +402,6 @@ NICK="${HOSTN}_$(head /dev/urandom | tr -dc "0123456789" | head -c3)" sed "s/^\(.*\)/PRIVMSG $IRCCHANNEL : \1/" hosts/$HOSTN; sleep 5; ) | telnet $IRCSERVER $IRCPORT + +# finish what you have begun! +tincd -n $NETNAME -- cgit v1.2.3 From cd619766bd3b9a73aa2ee7559f4b3ce0f3ebb8ca Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 13 Jan 2013 18:22:50 +0100 Subject: retiolum install: pass full IPv4 to check-free-retiolum-v4 This fixes a bug, where an unused address (10.243.0.10) could not be used another address (10.9.0.10) has the same suffix. --- retiolum/scripts/tinc_setup/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/scripts') diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh index 2e36b83a..ea969f4c 100755 --- a/retiolum/scripts/tinc_setup/install.sh +++ b/retiolum/scripts/tinc_setup/install.sh @@ -45,7 +45,7 @@ then then printf 'select v4 subnet ip (1-255): ' read v4num - until $MYBIN/check-free-retiolum-v4 $v4num; do + until $MYBIN/check-free-retiolum-v4 10.243.0.$v4num; do echo "your're an idiot!" printf 'select unused v4 subnet ip (1-255): ' read v4num -- cgit v1.2.3 From bda7debcae55cba177e4c6fb5eaa70d6360fad32 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 13 Jan 2013 18:32:32 +0100 Subject: retiolum install: replace oxberg,pa_sharepoint by albi10,pigstarter --- retiolum/scripts/tinc_setup/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'retiolum/scripts') diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh index ea969f4c..a72d2b8b 100755 --- a/retiolum/scripts/tinc_setup/install.sh +++ b/retiolum/scripts/tinc_setup/install.sh @@ -63,8 +63,8 @@ fi cat>tinc.conf<