mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Update basic-install.sh
This commit is contained in:
parent
08e6f60941
commit
221b72439b
1 changed files with 2 additions and 2 deletions
|
@ -255,8 +255,8 @@ It is also possible to use a DHCP reservation, but if you are going to do that,
|
||||||
IP address: $IPv4addr
|
IP address: $IPv4addr
|
||||||
Gateway: $IPv4gw" $r $c)then
|
Gateway: $IPv4gw" $r $c)then
|
||||||
# If the settings are correct, then we need to set the piholeIP
|
# If the settings are correct, then we need to set the piholeIP
|
||||||
# Saving it to a temporary file us to retrieve it later when we run the gravity.sh script
|
# Saving it to a temporary file us to retrieve it later when we run the gravity.sh script. piholeIP is saved to a permanent file so gravity.sh can use it when updating
|
||||||
echo "${IPv4addr%/*}" > /tmp/piholeIP
|
echo "${IPv4addr%/*}" > /etc/pihole/piholeIP
|
||||||
echo "$piholeInterface" > /tmp/piholeINT
|
echo "$piholeInterface" > /tmp/piholeINT
|
||||||
# After that's done, the loop ends and we move on
|
# After that's done, the loop ends and we move on
|
||||||
ipSettingsCorrect=True
|
ipSettingsCorrect=True
|
||||||
|
|
Loading…
Reference in a new issue