Prompt user to choose if they wish to reconfigure their network settings.

This commit is contained in:
ryt51V 2016-02-27 20:25:59 +00:00
parent 443fe43ecc
commit b5537cd360

View file

@ -192,8 +192,12 @@ use4andor6() {
done
if [ $useIPv4 ]; then
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.)
IPv4 address: $IPv4addr
Gateway: $IPv4gw" $r $c) then
getStaticIPv4Settings
setStaticIPv4
fi
echo "::: Using IPv4 on $IPv4addr"
else
echo "::: Using IPv6 on $piholeIPv6"