mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Correct miss-spelled variables on lines 398 and 403
This commit is contained in:
parent
44974f98a0
commit
c396aeed52
1 changed files with 2 additions and 2 deletions
|
@ -395,12 +395,12 @@ versionCheckDNSmasq(){
|
|||
$SUDO cp $newFileToInstall $newFileFinalLocation
|
||||
echo " done."
|
||||
$SUDO sed -i "s/@INT@/$piholeInterface/" $newFileFinalLocation
|
||||
if [[ "$piholDNS1" != "" ]]; then
|
||||
if [[ "$piholeDNS1" != "" ]]; then
|
||||
$SUDO sed -i "s/@DNS1@/$piholeDNS1/" $newFileFinalLocation
|
||||
else
|
||||
$SUDO sed -i '/^server=@DNS1@/d' $newFileFinalLocation
|
||||
fi
|
||||
if [[ "$piholDNS2" != "" ]]; then
|
||||
if [[ "$piholeDNS2" != "" ]]; then
|
||||
$SUDO sed -i "s/@DNS2@/$piholeDNS2/" $newFileFinalLocation
|
||||
else
|
||||
$SUDO sed -i '/^server=@DNS2@/d' $newFileFinalLocation
|
||||
|
|
Loading…
Reference in a new issue