mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-28 17:13:17 +00:00
Prompt user to choose if they wish to reconfigure their network settings.
This commit is contained in:
parent
443fe43ecc
commit
b5537cd360
1 changed files with 7 additions and 3 deletions
|
@ -192,9 +192,13 @@ use4andor6() {
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $useIPv4 ]; then
|
if [ $useIPv4 ]; then
|
||||||
getStaticIPv4Settings
|
if (whiptail --backtitle "IPv4" --title "Reconfigure IPv4" --yesno "Do you wish to reconfigure your IPv4 settings? (If you have not changed these before on this Pi then choose yes.)
|
||||||
setStaticIPv4
|
IPv4 address: $IPv4addr
|
||||||
echo "::: Using IPv4 on $IPv4addr"
|
Gateway: $IPv4gw" $r $c) then
|
||||||
|
getStaticIPv4Settings
|
||||||
|
setStaticIPv4
|
||||||
|
fi
|
||||||
|
echo "::: Using IPv4 on $IPv4addr"
|
||||||
else
|
else
|
||||||
echo "::: Using IPv6 on $piholeIPv6"
|
echo "::: Using IPv6 on $piholeIPv6"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue