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