mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
Add initialCheck()
This commit is contained in:
parent
09f0611023
commit
600703c222
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,12 @@ function checkOS() {
|
|||
fi
|
||||
}
|
||||
|
||||
function initialCheck() {
|
||||
isRoot
|
||||
checkVirt
|
||||
checkOS
|
||||
}
|
||||
|
||||
function addClient() {
|
||||
# Load params
|
||||
source /etc/wireguard/params
|
||||
|
|
Loading…
Add table
Reference in a new issue