fix argc chekch

This commit is contained in:
Nico Schottelius 2020-10-12 21:22:06 +02:00
parent dbe77a6792
commit 45265b5e45

View file

@ -2,7 +2,7 @@
# 2020-06-13, Nico Schottelius # 2020-06-13, Nico Schottelius
# See https://ungleich.ch/u/products/viirb-ipv6-box/ # 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 "$0 viirb-ip-address viirb-id [wgprivkey]"
echo " viirb-ip-address: where to find the viirb" echo " viirb-ip-address: where to find the viirb"
echo " viirb-id: number in decimal format" echo " viirb-id: number in decimal format"