From 45265b5e45a9c2d4b732e33a986380353d44103b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 12 Oct 2020 21:22:06 +0200 Subject: [PATCH] fix argc chekch --- viirb-2-configure-fully-after-upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viirb-2-configure-fully-after-upgrade.sh b/viirb-2-configure-fully-after-upgrade.sh index ac84a76..093d547 100755 --- a/viirb-2-configure-fully-after-upgrade.sh +++ b/viirb-2-configure-fully-after-upgrade.sh @@ -2,7 +2,7 @@ # 2020-06-13, Nico Schottelius # See https://ungleich.ch/u/products/viirb-ipv6-box/ -if [ $# -ne 2 ]; then +if [ $# -lt 2 ]; then echo "$0 viirb-ip-address viirb-id [wgprivkey]" echo " viirb-ip-address: where to find the viirb" echo " viirb-id: number in decimal format"