mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-05-31 18:50:47 +00:00
Add installation text
This commit is contained in:
parent
2acb9d8184
commit
40068e02f8
|
@ -48,6 +48,11 @@ function initialCheck() {
|
|||
}
|
||||
|
||||
function installWireGuard() {
|
||||
echo "Welcome to the WireGuard installer!"
|
||||
echo "The git repository is available at: https://github.com/angristan/wireguard-install"
|
||||
echo ""
|
||||
echo "I need to ask you a few questions before starting the setup."
|
||||
echo "You can leave the default options and just press enter if you are ok with them."
|
||||
|
||||
# Detect public IPv4 address and pre-fill for the user
|
||||
SERVER_PUB_IPV4=$(ip addr | grep 'inet' | grep -v inet6 | grep -vE '127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | grep -oE '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | head -1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user