1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-06-05 13:00:48 +00:00

Chnage addClient() to newClient()

Follow naming of openvpn-install repository
This commit is contained in:
randomshell 2020-07-01 19:09:38 +00:00
parent d765194eac
commit 2acb9d8184

View File

@ -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