mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
Chnage addClient() to newClient()
Follow naming of openvpn-install repository
This commit is contained in:
parent
d765194eac
commit
2acb9d8184
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue