mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-28 07:51:55 +00:00
Update build.func
shfmt
This commit is contained in:
parent
71eecd1efc
commit
325071c2f1
@ -268,7 +268,7 @@ advanced_settings() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$NET" != "dhcp" ]; then
|
if [ "$NET" != "dhcp" ]; then
|
||||||
while true; do
|
while true; do
|
||||||
GATE1=$(whiptail --inputbox "Enter gateway IP address" 8 58 --title "Gateway IP" 3>&1 1>&2 2>&3)
|
GATE1=$(whiptail --inputbox "Enter gateway IP address" 8 58 --title "Gateway IP" 3>&1 1>&2 2>&3)
|
||||||
if [ -z "$GATE1" ]; then
|
if [ -z "$GATE1" ]; then
|
||||||
@ -281,10 +281,10 @@ if [ "$NET" != "dhcp" ]; then
|
|||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
GATE=""
|
GATE=""
|
||||||
echo -e "${DGN}Using Gateway IP Address: ${BGN}Default${CL}"
|
echo -e "${DGN}Using Gateway IP Address: ${BGN}Default${CL}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then
|
if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then
|
||||||
DISABLEIP6="yes"
|
DISABLEIP6="yes"
|
||||||
|
Loading…
Reference in New Issue
Block a user