From d68242713a703debbf88d841f8cd3663b77782ab Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 1 Aug 2020 13:46:00 +0200 Subject: [PATCH] [viirb] + pubkey + args --- viirb-2-configure-fully-after-upgrade.sh | 1 + viirb1-2-together.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/viirb-2-configure-fully-after-upgrade.sh b/viirb-2-configure-fully-after-upgrade.sh index 16f704e..94fc628 100755 --- a/viirb-2-configure-fully-after-upgrade.sh +++ b/viirb-2-configure-fully-after-upgrade.sh @@ -136,6 +136,7 @@ EOF # ensure viirb network is up and running - bridge takes a bit of time # ensure viirb gives out ipv6 address # Found: 30s is not enough for full reconfiguration +echo "Public VPN key: ${id} ${public_key}" sleep 60 # change to ipv6 diff --git a/viirb1-2-together.sh b/viirb1-2-together.sh index 3edc0bf..2d4378b 100644 --- a/viirb1-2-together.sh +++ b/viirb1-2-together.sh @@ -1,6 +1,6 @@ #!/bin/sh -if [ $# -ne 2 ]; then +if [ $# -ne 1 ]; then echo "$0 viirb-id" echo " viirb-id: number in decimal format" exit 1