mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
updated server.conf path
This commit is contained in:
parent
9bb82ff372
commit
76ae525c1d
1 changed files with 1 additions and 1 deletions
|
@ -727,7 +727,7 @@ setCustomDomain() {
|
|||
if (whiptail --backtitle "Custom Search Domain" --title "Custom Search Domain" --yesno "Are these settings correct?\n Custom Search Domain: $CUSTOMDomain" ${r} ${c}); then
|
||||
DomainSettingsCorrect=True
|
||||
|
||||
$SUDO sed -i '0,/\(.*dhcp-option.*\)/s//\push "dhcp-option DOMAIN '${CUSTOMDomain}'" /' server.conf
|
||||
$SUDO sed -i '0,/\(.*dhcp-option.*\)/s//\push "dhcp-option DOMAIN '${CUSTOMDomain}'" /' /etc/openvpn/server.conf
|
||||
|
||||
else
|
||||
# If the settings are wrong, the loop continues
|
||||
|
|
Loading…
Reference in a new issue