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

Add initialCheck()

This commit is contained in:
randomshell 2020-07-01 18:33:00 +00:00
parent 09f0611023
commit 600703c222

View File

@ -41,6 +41,12 @@ function checkOS() {
fi
}
function initialCheck() {
isRoot
checkVirt
checkOS
}
function addClient() {
# Load params
source /etc/wireguard/params