From 2acb9d8184c94036d7fa504f995f4d3d624a99d9 Mon Sep 17 00:00:00 2001 From: randomshell Date: Wed, 1 Jul 2020 19:09:38 +0000 Subject: [PATCH] Chnage addClient() to newClient() Follow naming of openvpn-install repository --- wireguard-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 1e129e0..1078536 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -160,11 +160,11 @@ net.ipv6.conf.all.forwarding = 1" >/etc/sysctl.d/wg.conf fi fi - addClient + newClient echo "If you want to add more clients, you simply need to run this script another time!" } -function addClient() { +function newClient() { # Load params source /etc/wireguard/params @@ -240,7 +240,7 @@ function manageMenu() { done case $MENU_OPTION in 1) - addClient + newClient ;; 2) exit 0