Ask for ip-address, even if in update mode.

This commit is contained in:
Christoph 2018-10-30 03:58:50 +01:00
parent 5ada4cf63c
commit 278c451ad1

View File

@ -825,14 +825,17 @@ if ! $UPDATE_SYMPA ; then
fi fi
fi fi
echo "" fi
echo ""
echo -e "\033[32m--\033[m"
echo "" echo ""
echo "Insert the IP-Addresses where the webserver should listen for that site." echo ""
echo "" echo -e "\033[32m--\033[m"
IPv4= echo ""
while [ "X$IPv4" = "X" ];do echo "Insert the IP-Addresses where the webserver should listen for that site."
echo ""
IPv4=
while [ "X$IPv4" = "X" ];do
if [ -z "$__ipv4" ]; then if [ -z "$__ipv4" ]; then
echononl "IPv4 address: " echononl "IPv4 address: "
read IPv4 read IPv4
@ -846,9 +849,9 @@ if ! $UPDATE_SYMPA ; then
IPv4=$__ipv4 IPv4=$__ipv4
fi fi
fi fi
done done
IPv6= IPv6=
while [ "X$IPv6" = "X" ];do while [ "X$IPv6" = "X" ];do
if [ -z "$__ipv6" ]; then if [ -z "$__ipv6" ]; then
echononl "IPv6 address: " echononl "IPv6 address: "
read IPv6 read IPv6
@ -862,10 +865,7 @@ if ! $UPDATE_SYMPA ; then
IPv6=$__ipv6 IPv6=$__ipv6
fi fi
fi fi
done done
fi
SYMPA_ALIAS_FILE= SYMPA_ALIAS_FILE=