mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-24 23:23:42 +00:00
Tab consistency.
This commit is contained in:
parent
b5537cd360
commit
fbf7d1cf3d
1 changed files with 19 additions and 19 deletions
|
@ -191,25 +191,25 @@ use4andor6() {
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $useIPv4 ]; then
|
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.)
|
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
|
IPv4 address: $IPv4addr
|
||||||
Gateway: $IPv4gw" $r $c) then
|
Gateway: $IPv4gw" $r $c) then
|
||||||
getStaticIPv4Settings
|
getStaticIPv4Settings
|
||||||
setStaticIPv4
|
setStaticIPv4
|
||||||
fi
|
fi
|
||||||
echo "::: Using IPv4 on $IPv4addr"
|
echo "::: Using IPv4 on $IPv4addr"
|
||||||
else
|
else
|
||||||
echo "::: Using IPv6 on $piholeIPv6"
|
echo "::: Using IPv6 on $piholeIPv6"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $useIPv6 ]; then
|
if [ $useIPv6 ]; then
|
||||||
useIPv6dialog
|
useIPv6dialog
|
||||||
echo "::: Using IPv6 on $piholeIPv6"
|
echo "::: Using IPv6 on $piholeIPv6"
|
||||||
else
|
else
|
||||||
echo "::: IPv6 will NOT be used."
|
echo "::: IPv6 will NOT be used."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! $useIPv4 ] && [ ! $useIPv6 ]; then
|
if [ ! $useIPv4 ] && [ ! $useIPv6 ]; then
|
||||||
echo "::: Cannot continue, neither IPv4 or IPv6 selected"
|
echo "::: Cannot continue, neither IPv4 or IPv6 selected"
|
||||||
echo "::: Exiting"
|
echo "::: Exiting"
|
||||||
|
|
Loading…
Reference in a new issue