mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-20 03:40:17 +00:00
Invalidate $IPv4Addr and $IPv4gw when the user claims those settings are not correct
This commit is contained in:
parent
b12996df37
commit
e0ee6cf937
1 changed files with 5 additions and 1 deletions
|
@ -786,6 +786,8 @@ It is also possible to use a DHCP reservation, but if you are going to do that,
|
|||
else
|
||||
# If the settings are wrong, the loop continues
|
||||
ipSettingsCorrect=False
|
||||
IPv4AddrValid=False
|
||||
IPv4gwValid=False
|
||||
fi
|
||||
done
|
||||
# End the if statement for DHCP vs. static
|
||||
|
@ -1062,6 +1064,8 @@ installOpenVPN(){
|
|||
}
|
||||
|
||||
installWireGuard(){
|
||||
local PIVPN_DEPS
|
||||
|
||||
if [ "$PLAT" = "Raspbian" ]; then
|
||||
|
||||
# If this Raspberry Pi uses armv7l we can use the package from the repo
|
||||
|
|
Loading…
Reference in a new issue