From 1aec80d4c902304aedfa005b943e41326938042e Mon Sep 17 00:00:00 2001 From: elieobeid7 Date: Wed, 12 Jan 2022 16:14:43 +0400 Subject: [PATCH] list all wireguard clients --- wireguard-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wireguard-install.sh b/wireguard-install.sh index c8a9de7..c750fc5 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -337,6 +337,8 @@ function listClients() { fi grep -E "^### Client" "/etc/wireguard/${SERVER_WG_NIC}.conf" | cut -d ' ' -f 3 | nl -s ') ' + done + } function revokeClient() {