Browse Source

install_easy : add enable ipv6 question

pull/33/head
bolvan 6 years ago
parent
commit
f25207e690
  1. 15
      install_easy.sh

15
install_easy.sh

@ -178,9 +178,24 @@ select_getlist()
GETLIST=""
write_config_var GETLIST
}
select_ipv6()
{
local T=N
[ "$DISABLE_IPV6" != '1' ] && T=Y
echo -n "enable ipv6 support (default : $T) (Y/N) ? "
read A
local old6=$DISABLE_IPV6
if [ "$A" = 'Y' ] || [ "$A" = 'y' ]; then
DISABLE_IPV6=0
elif [ "$A" = 'N' ] || [ "$A" = 'n' ]; then
DISABLE_IPV6=1
fi
[ "$old6" != "$DISABLE_IPV6" ] && write_config_var DISABLE_IPV6
}
ask_config()
{
select_ipv6
select_mode
select_getlist
}

Loading…
Cancel
Save