mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
list all wireguard clients
This commit is contained in:
parent
80cdcde992
commit
aa775002b5
1 changed files with 2 additions and 3 deletions
|
@ -337,7 +337,6 @@ function listClients() {
|
|||
fi
|
||||
|
||||
grep -E "^### Client" "/etc/wireguard/${SERVER_WG_NIC}.conf" | cut -d ' ' -f 3 | nl -s ') '
|
||||
exit 1
|
||||
|
||||
}
|
||||
|
||||
|
@ -434,8 +433,8 @@ function manageMenu() {
|
|||
echo ""
|
||||
echo "What do you want to do?"
|
||||
echo " 1) Add a new user"
|
||||
echo " 2) Revoke existing user"
|
||||
echo " 3) List all users"
|
||||
echo " 2) List all users"
|
||||
echo " 3) Revoke existing user"
|
||||
echo " 4) Uninstall WireGuard"
|
||||
echo " 5) Exit"
|
||||
until [[ ${MENU_OPTION} =~ ^[1-5]$ ]]; do
|
||||
|
|
Loading…
Add table
Reference in a new issue