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:
parent
09f0611023
commit
600703c222
|
@ -41,6 +41,12 @@ function checkOS() {
|
|||
fi
|
||||
}
|
||||
|
||||
function initialCheck() {
|
||||
isRoot
|
||||
checkVirt
|
||||
checkOS
|
||||
}
|
||||
|
||||
function addClient() {
|
||||
# Load params
|
||||
source /etc/wireguard/params
|
||||
|
|
Loading…
Reference in New Issue
Block a user