diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index 56035b9d6..817bb5fdc 100644 --- a/ct/adguard-v5.sh +++ b/ct/adguard-v5.sh @@ -125,6 +125,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -236,6 +238,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -369,6 +378,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/alpine-v5.sh b/ct/alpine-v5.sh index 5ef6197c0..7f9c7d036 100644 --- a/ct/alpine-v5.sh +++ b/ct/alpine-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -234,6 +236,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -348,6 +357,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/archlinux-v5.sh b/ct/archlinux-v5.sh index 015661f0d..afef7c5a4 100644 --- a/ct/archlinux-v5.sh +++ b/ct/archlinux-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/autobrr-v5.sh b/ct/autobrr-v5.sh index 0bf2ba402..5f3589ba5 100644 --- a/ct/autobrr-v5.sh +++ b/ct/autobrr-v5.sh @@ -125,6 +125,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -236,6 +238,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -361,6 +370,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/blocky-v5.sh b/ct/blocky-v5.sh index d82c7a933..7291b0bee 100644 --- a/ct/blocky-v5.sh +++ b/ct/blocky-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/casaos-v5.sh b/ct/casaos-v5.sh index f41c1c968..2a7e1c93f 100644 --- a/ct/casaos-v5.sh +++ b/ct/casaos-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -239,6 +241,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -362,6 +371,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export ST=$FUSE +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/changedetection-v5.sh b/ct/changedetection-v5.sh index d0d7b8902..e50e3fda5 100644 --- a/ct/changedetection-v5.sh +++ b/ct/changedetection-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -351,6 +360,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/cronicle-v5.sh b/ct/cronicle-v5.sh index 41f618b4a..e1e831cc1 100644 --- a/ct/cronicle-v5.sh +++ b/ct/cronicle-v5.sh @@ -124,6 +124,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -235,6 +237,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -399,6 +408,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export SERV=$SERVER +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/daemonsync-v5.sh b/ct/daemonsync-v5.sh index c21c5de65..c79e3cacc 100644 --- a/ct/daemonsync-v5.sh +++ b/ct/daemonsync-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/dashy-v5.sh b/ct/dashy-v5.sh index 98ed2189a..d3ed0919f 100644 --- a/ct/dashy-v5.sh +++ b/ct/dashy-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -378,6 +387,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/debian-v5.sh b/ct/debian-v5.sh index 25af81a54..9f007fb16 100644 --- a/ct/debian-v5.sh +++ b/ct/debian-v5.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash function header_info { cat <<"EOF" - ____ __________ _______ _ __ - / __ \/ ____/ __ )/ _/ | / | / / - / / / / __/ / __ |/ // /| | / |/ / - / /_/ / /_v5/ /_/ // // ___ |/ /| / -/_____/_____/_____/___/_/ |_/_/ |_/ - + ____ __ _ + / __ \___v5/ /_ (_)___ _____ + / / / / _ \/ __ \/ / __ `/ __ \ + / /_/ / __/ /_/ / / /_/ / / / / +/_____/\___/_.___/_/\__,_/_/ /_/ + EOF } clear @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/deconz-v5.sh b/ct/deconz-v5.sh index 7b7334700..f99fffb44 100644 --- a/ct/deconz-v5.sh +++ b/ct/deconz-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/deluge-v5.sh b/ct/deluge-v5.sh index 8450b4573..f61244137 100644 --- a/ct/deluge-v5.sh +++ b/ct/deluge-v5.sh @@ -123,6 +123,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -234,6 +236,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -348,6 +357,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/docker-v5.sh b/ct/docker-v5.sh index 8b29ccd8a..d2e3c0a7b 100644 --- a/ct/docker-v5.sh +++ b/ct/docker-v5.sh @@ -125,6 +125,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -359,6 +368,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export ST=$FUSE +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/emby-v5.sh b/ct/emby-v5.sh index e5637edef..7392ac613 100644 --- a/ct/emby-v5.sh +++ b/ct/emby-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -246,6 +248,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -371,6 +380,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/emqx-v5.sh b/ct/emqx-v5.sh index 45471134d..26360cbcc 100644 --- a/ct/emqx-v5.sh +++ b/ct/emqx-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -351,6 +360,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/esphome-v5.sh b/ct/esphome-v5.sh index a3c650a57..6ec4e410d 100644 --- a/ct/esphome-v5.sh +++ b/ct/esphome-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -358,6 +367,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/grafana-v5.sh b/ct/grafana-v5.sh index 291af104c..85e1b111e 100644 --- a/ct/grafana-v5.sh +++ b/ct/grafana-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/grocy-v5.sh b/ct/grocy-v5.sh index 7b404d1fc..62441b72b 100644 --- a/ct/grocy-v5.sh +++ b/ct/grocy-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -351,6 +360,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/heimdalldashboard-v5.sh b/ct/heimdalldashboard-v5.sh index 62bf3c8e1..00dddee1b 100644 --- a/ct/heimdalldashboard-v5.sh +++ b/ct/heimdalldashboard-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -431,6 +440,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/homeassistant-core-v5.sh b/ct/homeassistant-core-v5.sh index 8dfdc3cd4..0cc1acb4c 100644 --- a/ct/homeassistant-core-v5.sh +++ b/ct/homeassistant-core-v5.sh @@ -120,6 +120,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -232,6 +234,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -419,6 +428,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/homeassistant-v5.sh b/ct/homeassistant-v5.sh index a9320d6c7..afaa19ebe 100644 --- a/ct/homeassistant-v5.sh +++ b/ct/homeassistant-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -241,6 +243,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -427,6 +436,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export ST=$FUSE +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/homebridge-v5.sh b/ct/homebridge-v5.sh index d0ed805ba..d036f6ed0 100644 --- a/ct/homebridge-v5.sh +++ b/ct/homebridge-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/homepage-v5.sh b/ct/homepage-v5.sh index 0ddcf04fd..413bcb9ac 100644 --- a/ct/homepage-v5.sh +++ b/ct/homepage-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -358,6 +367,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/homer-v5.sh b/ct/homer-v5.sh index 281ffdb57..fcb920b0d 100644 --- a/ct/homer-v5.sh +++ b/ct/homer-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -371,6 +380,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/hyperion-v5.sh b/ct/hyperion-v5.sh index ac0a241d7..51353a73c 100644 --- a/ct/hyperion-v5.sh +++ b/ct/hyperion-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -353,6 +362,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/influxdb-v5.sh b/ct/influxdb-v5.sh index e7dae7cfd..03681cb6d 100644 --- a/ct/influxdb-v5.sh +++ b/ct/influxdb-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/iobroker-v5.sh b/ct/iobroker-v5.sh index 09ca26622..257ae0bd1 100644 --- a/ct/iobroker-v5.sh +++ b/ct/iobroker-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/jellyfin-v5.sh b/ct/jellyfin-v5.sh index 77d93abe5..127dcd251 100644 --- a/ct/jellyfin-v5.sh +++ b/ct/jellyfin-v5.sh @@ -129,6 +129,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -248,6 +250,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -361,6 +370,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/k0s-v5.sh b/ct/k0s-v5.sh index 84f721996..bcf5f0ee5 100644 --- a/ct/k0s-v5.sh +++ b/ct/k0s-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/kavita-v5.sh b/ct/kavita-v5.sh index 2b80642ef..d0d21213b 100644 --- a/ct/kavita-v5.sh +++ b/ct/kavita-v5.sh @@ -125,6 +125,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -236,6 +238,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -350,6 +359,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/keycloak-v5.sh b/ct/keycloak-v5.sh index ab0613630..2d9e16fe6 100644 --- a/ct/keycloak-v5.sh +++ b/ct/keycloak-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -353,6 +362,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/lidarr-v5.sh b/ct/lidarr-v5.sh index 11929ba56..07586f059 100644 --- a/ct/lidarr-v5.sh +++ b/ct/lidarr-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/magicmirror-v5.sh b/ct/magicmirror-v5.sh index 1b523e7ac..9a738bcfd 100644 --- a/ct/magicmirror-v5.sh +++ b/ct/magicmirror-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -354,6 +363,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/mariadb-v5.sh b/ct/mariadb-v5.sh index 716e925f6..96fdb8e15 100644 --- a/ct/mariadb-v5.sh +++ b/ct/mariadb-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/meshcentral-v5.sh b/ct/meshcentral-v5.sh index 75444ab2c..37d26f3fb 100644 --- a/ct/meshcentral-v5.sh +++ b/ct/meshcentral-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/motioneye-v5.sh b/ct/motioneye-v5.sh index a267063ab..f5b6186d9 100644 --- a/ct/motioneye-v5.sh +++ b/ct/motioneye-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -351,6 +360,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/mqtt-v5.sh b/ct/mqtt-v5.sh index ade50ecef..8cc7274e3 100644 --- a/ct/mqtt-v5.sh +++ b/ct/mqtt-v5.sh @@ -124,6 +124,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -235,6 +237,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/n8n-v5.sh b/ct/n8n-v5.sh index 87888de46..c4a371af4 100644 --- a/ct/n8n-v5.sh +++ b/ct/n8n-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/navidrome-v5.sh b/ct/navidrome-v5.sh index 3754dfa31..06f2a828b 100644 --- a/ct/navidrome-v5.sh +++ b/ct/navidrome-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -363,6 +372,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/nextcloudpi-v5.sh b/ct/nextcloudpi-v5.sh index c57934f8f..af9a035b6 100644 --- a/ct/nextcloudpi-v5.sh +++ b/ct/nextcloudpi-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/nginxproxymanager-v5.sh b/ct/nginxproxymanager-v5.sh index 88dba9c92..41cf41a88 100644 --- a/ct/nginxproxymanager-v5.sh +++ b/ct/nginxproxymanager-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -461,6 +470,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/nocodb-v5.sh b/ct/nocodb-v5.sh index c7db9a0a9..d552dd845 100644 --- a/ct/nocodb-v5.sh +++ b/ct/nocodb-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -355,6 +364,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/node-red-v5.sh b/ct/node-red-v5.sh index 9928b776e..d6239acc7 100644 --- a/ct/node-red-v5.sh +++ b/ct/node-red-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -388,6 +397,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/omada-v5.sh b/ct/omada-v5.sh index 23689d0e2..c200d3fd5 100644 --- a/ct/omada-v5.sh +++ b/ct/omada-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -246,6 +248,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -350,6 +359,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/omv-v5.sh b/ct/omv-v5.sh index 5adcf8386..8591a72eb 100644 --- a/ct/omv-v5.sh +++ b/ct/omv-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -353,6 +362,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/openhab-v5.sh b/ct/openhab-v5.sh index 3e7fab939..837f815cf 100644 --- a/ct/openhab-v5.sh +++ b/ct/openhab-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -353,6 +362,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/paperless-ngx-v5.sh b/ct/paperless-ngx-v5.sh index 25a0b51fb..b4de9ab6d 100644 --- a/ct/paperless-ngx-v5.sh +++ b/ct/paperless-ngx-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -420,6 +429,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/photoprism-v5.sh b/ct/photoprism-v5.sh index c458183ae..ccab7aad9 100644 --- a/ct/photoprism-v5.sh +++ b/ct/photoprism-v5.sh @@ -125,6 +125,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -236,6 +238,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -373,6 +382,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/pihole-v5.sh b/ct/pihole-v5.sh index 3b46de9a7..299c53d05 100644 --- a/ct/pihole-v5.sh +++ b/ct/pihole-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/plex-v5.sh b/ct/plex-v5.sh index 5274f9b7b..308946177 100644 --- a/ct/plex-v5.sh +++ b/ct/plex-v5.sh @@ -128,6 +128,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -247,6 +249,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -371,6 +380,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/podman-homeassistant-v5.sh b/ct/podman-homeassistant-v5.sh index 9a19d4b9f..55f0f9c56 100644 --- a/ct/podman-homeassistant-v5.sh +++ b/ct/podman-homeassistant-v5.sh @@ -130,6 +130,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -241,6 +243,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -402,6 +411,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/podman-v5.sh b/ct/podman-v5.sh index 0deea5d23..c4475f010 100644 --- a/ct/podman-v5.sh +++ b/ct/podman-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/postgresql-v5.sh b/ct/postgresql-v5.sh index 7cc1fd6f9..e12471428 100644 --- a/ct/postgresql-v5.sh +++ b/ct/postgresql-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/prometheus-v5.sh b/ct/prometheus-v5.sh index a3c2a7b68..2de01b110 100644 --- a/ct/prometheus-v5.sh +++ b/ct/prometheus-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/prowlarr-v5.sh b/ct/prowlarr-v5.sh index 589a1ff72..ed741da70 100644 --- a/ct/prowlarr-v5.sh +++ b/ct/prowlarr-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/radarr-v5.sh b/ct/radarr-v5.sh index 0f1b8a79c..3ae34a9c4 100644 --- a/ct/radarr-v5.sh +++ b/ct/radarr-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/readarr-v5.sh b/ct/readarr-v5.sh index b87aace94..d8e03dfba 100644 --- a/ct/readarr-v5.sh +++ b/ct/readarr-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/sabnzbd-v5.sh b/ct/sabnzbd-v5.sh index a6c859ccc..c54804651 100644 --- a/ct/sabnzbd-v5.sh +++ b/ct/sabnzbd-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/scrypted-v5.sh b/ct/scrypted-v5.sh index 12510995e..3b4c7eda5 100644 --- a/ct/scrypted-v5.sh +++ b/ct/scrypted-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -353,6 +362,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/shinobi-v5.sh b/ct/shinobi-v5.sh index 61dc52bf3..0a3ca6cf3 100644 --- a/ct/shinobi-v5.sh +++ b/ct/shinobi-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -246,6 +248,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -362,6 +371,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/sonarr-v5.sh b/ct/sonarr-v5.sh index 2fb460093..bf291d82c 100644 --- a/ct/sonarr-v5.sh +++ b/ct/sonarr-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/syncthing-v5.sh b/ct/syncthing-v5.sh index 0d7743d4e..fc983f24c 100644 --- a/ct/syncthing-v5.sh +++ b/ct/syncthing-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -353,6 +362,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/tdarr-v5.sh b/ct/tdarr-v5.sh index 7b6f59f84..882fa1d72 100644 --- a/ct/tdarr-v5.sh +++ b/ct/tdarr-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/technitiumdns-v5.sh b/ct/technitiumdns-v5.sh index fac927a23..ec98b23c5 100644 --- a/ct/technitiumdns-v5.sh +++ b/ct/technitiumdns-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -414,6 +423,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/transmission-v5.sh b/ct/transmission-v5.sh index e415d8f74..53bf082a6 100644 --- a/ct/transmission-v5.sh +++ b/ct/transmission-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/trilium-v5.sh b/ct/trilium-v5.sh index b8e733a78..9facb7ca1 100644 --- a/ct/trilium-v5.sh +++ b/ct/trilium-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -371,6 +380,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/ubuntu-v5.sh b/ct/ubuntu-v5.sh index 343b95f9d..0cdab57f0 100644 --- a/ct/ubuntu-v5.sh +++ b/ct/ubuntu-v5.sh @@ -123,6 +123,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -242,6 +244,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -355,6 +364,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/umbrel-v5.sh b/ct/umbrel-v5.sh index b908617d5..684b4fc2c 100644 --- a/ct/umbrel-v5.sh +++ b/ct/umbrel-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -239,6 +241,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -360,6 +369,7 @@ fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null export ST=$FUSE +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/unifi-v5.sh b/ct/unifi-v5.sh index b22673044..5f07d29aa 100644 --- a/ct/unifi-v5.sh +++ b/ct/unifi-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,6 +361,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/uptimekuma-v5.sh b/ct/uptimekuma-v5.sh index 60c22a50e..c29a38321 100644 --- a/ct/uptimekuma-v5.sh +++ b/ct/uptimekuma-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -369,6 +378,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/vaultwarden-v5.sh b/ct/vaultwarden-v5.sh index deed57970..fda70c394 100644 --- a/ct/vaultwarden-v5.sh +++ b/ct/vaultwarden-v5.sh @@ -125,6 +125,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -420,6 +429,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/whisparr-v5.sh b/ct/whisparr-v5.sh index c00bcec02..276365260 100644 --- a/ct/whisparr-v5.sh +++ b/ct/whisparr-v5.sh @@ -123,6 +123,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -234,6 +236,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -348,6 +357,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/whoogle-v5.sh b/ct/whoogle-v5.sh index e6b6ef7d9..b86000767 100644 --- a/ct/whoogle-v5.sh +++ b/ct/whoogle-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -351,6 +360,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/wikijs-v5.sh b/ct/wikijs-v5.sh index 1857c2fd8..1ed0b3b88 100644 --- a/ct/wikijs-v5.sh +++ b/ct/wikijs-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -365,6 +374,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/wireguard-v5.sh b/ct/wireguard-v5.sh index 722884a6b..376ff1869 100644 --- a/ct/wireguard-v5.sh +++ b/ct/wireguard-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -352,13 +361,13 @@ if [ "$UPD" == "2" ]; then exit fi IP=$(hostname -I | awk '{print $1}') -msg_info "Installing pip3" +msg_info "Installing Python3-pip" apt-get install -y python3-pip &>/dev/null pip install flask &>/dev/null pip install ifcfg &>/dev/null pip install flask_qrcode &>/dev/null pip install icmplib &>/dev/null -msg_ok "Installed pip3" +msg_ok "Installed Python3-pip" msg_info "Installing WGDashboard" WGDREL=$(curl -s https://api.github.com/repos/donaldzou/WGDashboard/releases/latest | @@ -407,6 +416,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/yunohost-v5.sh b/ct/yunohost-v5.sh index 973f62b83..e9d630c48 100644 --- a/ct/yunohost-v5.sh +++ b/ct/yunohost-v5.sh @@ -122,6 +122,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -233,6 +235,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -347,6 +356,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/zigbee2mqtt-v5.sh b/ct/zigbee2mqtt-v5.sh index 10df801e0..e006440e0 100644 --- a/ct/zigbee2mqtt-v5.sh +++ b/ct/zigbee2mqtt-v5.sh @@ -127,6 +127,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -238,6 +240,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -382,6 +391,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/ct/zwave-js-ui-v5.sh b/ct/zwave-js-ui-v5.sh index 9aff96ea1..3018177d6 100644 --- a/ct/zwave-js-ui-v5.sh +++ b/ct/zwave-js-ui-v5.sh @@ -126,6 +126,8 @@ function default_settings() { NET=dhcp echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" GATE="" + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" MTU="" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" @@ -237,6 +239,13 @@ function advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi fi + if (whiptail --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then + echo -e "${DGN}Disable IPv6: ${BGN}Yes${CL}" + DISABLEIP6="yes" + else + echo -e "${DGN}Disable IPv6: ${BGN}No${CL}" + DISABLEIP6="no" + fi MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then @@ -365,6 +374,7 @@ else fi TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null +export DISABLEIPV6=$DISABLEIP6 export VERBOSE=$VERB export STD=$VERB2 export SSH_ROOT=${SSH} diff --git a/install/adguard-v5-install.sh b/install/adguard-v5-install.sh index c0cb91308..562c14abe 100644 --- a/install/adguard-v5-install.sh +++ b/install/adguard-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/autobrr-v5-install.sh b/install/autobrr-v5-install.sh index 08b1490db..c66c362ce 100644 --- a/install/autobrr-v5-install.sh +++ b/install/autobrr-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/blocky-v5-install.sh b/install/blocky-v5-install.sh index 3a09d1b82..f4f9d698b 100644 --- a/install/blocky-v5-install.sh +++ b/install/blocky-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/casaos-v5-install.sh b/install/casaos-v5-install.sh index 9f076d432..98e7ae770 100644 --- a/install/casaos-v5-install.sh +++ b/install/casaos-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/changedetection-v5-install.sh b/install/changedetection-v5-install.sh index ae77b3a07..da5891f14 100644 --- a/install/changedetection-v5-install.sh +++ b/install/changedetection-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/cronicle-v5-install.sh b/install/cronicle-v5-install.sh index 0bee1960f..dc0dbd07d 100644 --- a/install/cronicle-v5-install.sh +++ b/install/cronicle-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/daemonsync-v5-install.sh b/install/daemonsync-v5-install.sh index 670d3c2e2..f5f9408b6 100644 --- a/install/daemonsync-v5-install.sh +++ b/install/daemonsync-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/dashy-v5-install.sh b/install/dashy-v5-install.sh index 205163bfe..4e4a084f3 100644 --- a/install/dashy-v5-install.sh +++ b/install/dashy-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/debian-v5-install.sh b/install/debian-v5-install.sh index ffb9f70b5..f89c2ffbf 100644 --- a/install/debian-v5-install.sh +++ b/install/debian-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/deconz-v5-install.sh b/install/deconz-v5-install.sh index fa12d272c..5b6898477 100644 --- a/install/deconz-v5-install.sh +++ b/install/deconz-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/deluge-v5-install.sh b/install/deluge-v5-install.sh index cb4bebc7c..963dbe936 100644 --- a/install/deluge-v5-install.sh +++ b/install/deluge-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") @@ -86,9 +87,9 @@ $STD apt-get install -y sudo $STD apt-get install -y mc msg_ok "Installed Dependencies" -msg_info "Installing pip3" +msg_info "Installing Python3-pip" $STD apt-get install -y python3-pip -msg_ok "Installed pip3" +msg_ok "Installed Python3-pip" msg_info "Installing Deluge" $STD pip install deluge[all] diff --git a/install/docker-v5-install.sh b/install/docker-v5-install.sh index c0edccb1f..5d4d19bb8 100644 --- a/install/docker-v5-install.sh +++ b/install/docker-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/emby-v5-install.sh b/install/emby-v5-install.sh index a13941c04..29d38f1b2 100644 --- a/install/emby-v5-install.sh +++ b/install/emby-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/emqx-v5-install.sh b/install/emqx-v5-install.sh index 718f00894..26b8daa54 100644 --- a/install/emqx-v5-install.sh +++ b/install/emqx-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/esphome-install.sh b/install/esphome-install.sh index 8a1b73d56..fbd8570a3 100644 --- a/install/esphome-install.sh +++ b/install/esphome-install.sh @@ -87,9 +87,9 @@ apt-get install -y sudo &>/dev/null apt-get install -y git &>/dev/null msg_ok "Installed Dependencies" -msg_info "Installing pip3" +msg_info "Installing Python3-pip" apt-get install -y python3-pip &>/dev/null -msg_ok "Installed pip3" +msg_ok "Installed Python3-pip" msg_info "Installing ESPHome" pip3 install esphome &>/dev/null diff --git a/install/esphome-v5-install.sh b/install/esphome-v5-install.sh index bddd00355..e4fbcc580 100644 --- a/install/esphome-v5-install.sh +++ b/install/esphome-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") @@ -88,9 +89,9 @@ $STD apt-get install -y mc $STD apt-get install -y git msg_ok "Installed Dependencies" -msg_info "Installing pip3" +msg_info "Installing Python3-pip" $STD apt-get install -y python3-pip -msg_ok "Installed pip3" +msg_ok "Installed Python3-pip" msg_info "Installing ESPHome" $STD pip3 install esphome diff --git a/install/grafana-v5-install.sh b/install/grafana-v5-install.sh index 189cbae3f..d9dbcdfca 100644 --- a/install/grafana-v5-install.sh +++ b/install/grafana-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/grocy-v5-install.sh b/install/grocy-v5-install.sh index 1e4c784b3..c56342c78 100644 --- a/install/grocy-v5-install.sh +++ b/install/grocy-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/heimdalldashboard-v5-install.sh b/install/heimdalldashboard-v5-install.sh index 33e8ef13e..a1fc064ba 100644 --- a/install/heimdalldashboard-v5-install.sh +++ b/install/heimdalldashboard-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/homeassistant-core-v5-install.sh b/install/homeassistant-core-v5-install.sh index 6070a81a0..2b3a3333a 100644 --- a/install/homeassistant-core-v5-install.sh +++ b/install/homeassistant-core-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/homeassistant-install.sh b/install/homeassistant-install.sh index 199982076..52c3c427a 100644 --- a/install/homeassistant-install.sh +++ b/install/homeassistant-install.sh @@ -86,9 +86,9 @@ apt-get install -y curl &>/dev/null apt-get install -y sudo &>/dev/null msg_ok "Installed Dependencies" -msg_info "Installing pip3" +msg_info "Installing Python3-pip" apt-get install -y python3-pip &>/dev/null -msg_ok "Installed pip3" +msg_ok "Installed Python3-pip" get_latest_release() { curl -sL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 diff --git a/install/homeassistant-v5-install.sh b/install/homeassistant-v5-install.sh index 603028b38..cb5c9ccf4 100644 --- a/install/homeassistant-v5-install.sh +++ b/install/homeassistant-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/homebridge-v5-install.sh b/install/homebridge-v5-install.sh index bd218d9e6..3aedb557e 100644 --- a/install/homebridge-v5-install.sh +++ b/install/homebridge-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/homepage-v5-install.sh b/install/homepage-v5-install.sh index 7069e0ee1..b2d8ada47 100644 --- a/install/homepage-v5-install.sh +++ b/install/homepage-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/homer-v5-install.sh b/install/homer-v5-install.sh index c9e8172ef..9f2db9fab 100644 --- a/install/homer-v5-install.sh +++ b/install/homer-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/hyperion-v5-install.sh b/install/hyperion-v5-install.sh index 13263722f..05558e6b6 100644 --- a/install/hyperion-v5-install.sh +++ b/install/hyperion-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/influxdb-v5-install.sh b/install/influxdb-v5-install.sh index 27e263e98..5affc2de2 100644 --- a/install/influxdb-v5-install.sh +++ b/install/influxdb-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/iobroker-v5-install.sh b/install/iobroker-v5-install.sh index b592dced3..a59032a84 100644 --- a/install/iobroker-v5-install.sh +++ b/install/iobroker-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/jellyfin-v5-install.sh b/install/jellyfin-v5-install.sh index 2f0f1126c..17683b670 100644 --- a/install/jellyfin-v5-install.sh +++ b/install/jellyfin-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/k0s-v5-install.sh b/install/k0s-v5-install.sh index 24b67810c..ab239220b 100644 --- a/install/k0s-v5-install.sh +++ b/install/k0s-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/kavita-v5-install.sh b/install/kavita-v5-install.sh index 316ecaf11..bbf7bc1ab 100644 --- a/install/kavita-v5-install.sh +++ b/install/kavita-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/keycloak-v5-install.sh b/install/keycloak-v5-install.sh index 797046dff..53e03b5c9 100644 --- a/install/keycloak-v5-install.sh +++ b/install/keycloak-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/lidarr-v5-install.sh b/install/lidarr-v5-install.sh index 061fbd317..f541f5530 100644 --- a/install/lidarr-v5-install.sh +++ b/install/lidarr-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/magicmirror-v5-install.sh b/install/magicmirror-v5-install.sh index 1902ced30..9f47644af 100644 --- a/install/magicmirror-v5-install.sh +++ b/install/magicmirror-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/mariadb-v5-install.sh b/install/mariadb-v5-install.sh index 8985b950d..a705ad233 100644 --- a/install/mariadb-v5-install.sh +++ b/install/mariadb-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/meshcentral-v5-install.sh b/install/meshcentral-v5-install.sh index 0559a9325..c5e5ed15b 100644 --- a/install/meshcentral-v5-install.sh +++ b/install/meshcentral-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/motioneye-v5-install.sh b/install/motioneye-v5-install.sh index 57a103de9..6dd05e2e0 100644 --- a/install/motioneye-v5-install.sh +++ b/install/motioneye-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/mqtt-v5-install.sh b/install/mqtt-v5-install.sh index dfd7fd037..b75ccd394 100644 --- a/install/mqtt-v5-install.sh +++ b/install/mqtt-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/n8n-v5-install.sh b/install/n8n-v5-install.sh index 03a27b723..677f21b51 100644 --- a/install/n8n-v5-install.sh +++ b/install/n8n-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/navidrome-v5-install.sh b/install/navidrome-v5-install.sh index f0c9e7676..8ef3f8595 100644 --- a/install/navidrome-v5-install.sh +++ b/install/navidrome-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/nextcloudpi-v5-install.sh b/install/nextcloudpi-v5-install.sh index 2fbce9fc2..e60923938 100644 --- a/install/nextcloudpi-v5-install.sh +++ b/install/nextcloudpi-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/nginxproxymanager-v5-install.sh b/install/nginxproxymanager-v5-install.sh index 3b7527738..7fb0efa93 100644 --- a/install/nginxproxymanager-v5-install.sh +++ b/install/nginxproxymanager-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/nocodb-v5-install.sh b/install/nocodb-v5-install.sh index bcf5d676b..15b515bca 100644 --- a/install/nocodb-v5-install.sh +++ b/install/nocodb-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/node-red-v5-install.sh b/install/node-red-v5-install.sh index a554c35bd..de324a325 100644 --- a/install/node-red-v5-install.sh +++ b/install/node-red-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/omada-v5-install.sh b/install/omada-v5-install.sh index dd1e986bb..30191935d 100644 --- a/install/omada-v5-install.sh +++ b/install/omada-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/omv-v5-install.sh b/install/omv-v5-install.sh index 89bc31168..9a1801a6e 100644 --- a/install/omv-v5-install.sh +++ b/install/omv-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi export DEBIAN_FRONTEND=noninteractive YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") diff --git a/install/openhab-v5-install.sh b/install/openhab-v5-install.sh index ced8d90da..1649094ce 100644 --- a/install/openhab-v5-install.sh +++ b/install/openhab-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/paperless-ngx-v5-install.sh b/install/paperless-ngx-v5-install.sh index 8040e1139..496ae80ab 100644 --- a/install/paperless-ngx-v5-install.sh +++ b/install/paperless-ngx-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/photoprism-v5-install.sh b/install/photoprism-v5-install.sh index 661ab7d94..d8831deb8 100644 --- a/install/photoprism-v5-install.sh +++ b/install/photoprism-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi AVX=$(grep -o -m1 'avx[^ ]*' /proc/cpuinfo) YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") diff --git a/install/pihole-v5-install.sh b/install/pihole-v5-install.sh index 87bc2d695..091351f52 100644 --- a/install/pihole-v5-install.sh +++ b/install/pihole-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi export DEBIAN_FRONTEND=noninteractive YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") diff --git a/install/plex-v5-install.sh b/install/plex-v5-install.sh index b048ada96..64d332519 100644 --- a/install/plex-v5-install.sh +++ b/install/plex-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/podman-homeassistant-v5-install.sh b/install/podman-homeassistant-v5-install.sh index 7ed0482b4..20d9c70cd 100644 --- a/install/podman-homeassistant-v5-install.sh +++ b/install/podman-homeassistant-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/podman-v5-install.sh b/install/podman-v5-install.sh index 48038cba2..9fdad038a 100644 --- a/install/podman-v5-install.sh +++ b/install/podman-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/postgresql-v5-install.sh b/install/postgresql-v5-install.sh index a092835d8..48d203644 100644 --- a/install/postgresql-v5-install.sh +++ b/install/postgresql-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/prometheus-v5-install.sh b/install/prometheus-v5-install.sh index b5f37958d..de31eb50b 100644 --- a/install/prometheus-v5-install.sh +++ b/install/prometheus-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/prowlarr-v5-install.sh b/install/prowlarr-v5-install.sh index f7f9edd85..f22ccc1ab 100644 --- a/install/prowlarr-v5-install.sh +++ b/install/prowlarr-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/radarr-v5-install.sh b/install/radarr-v5-install.sh index a0a84993b..4f262889c 100644 --- a/install/radarr-v5-install.sh +++ b/install/radarr-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/readarr-v5-install.sh b/install/readarr-v5-install.sh index 8c90fcc2f..a776b2cfa 100644 --- a/install/readarr-v5-install.sh +++ b/install/readarr-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/sabnzbd-v5-install.sh b/install/sabnzbd-v5-install.sh index 6cd98a5c5..fd8b2d513 100644 --- a/install/sabnzbd-v5-install.sh +++ b/install/sabnzbd-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/scrypted-v5-install.sh b/install/scrypted-v5-install.sh index 40f4d6ac8..f0694686a 100644 --- a/install/scrypted-v5-install.sh +++ b/install/scrypted-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/shinobi-v5-install.sh b/install/shinobi-v5-install.sh index 6ea987873..838718b82 100644 --- a/install/shinobi-v5-install.sh +++ b/install/shinobi-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/sonarr-v5-install.sh b/install/sonarr-v5-install.sh index f942d8ef0..fbbac3ac9 100644 --- a/install/sonarr-v5-install.sh +++ b/install/sonarr-v5-install.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash export DEBIAN_FRONTEND=noninteractive if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/syncthing-v5-install.sh b/install/syncthing-v5-install.sh index 4845c1ec8..dd5d92f7c 100644 --- a/install/syncthing-v5-install.sh +++ b/install/syncthing-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/tdarr-v5-install.sh b/install/tdarr-v5-install.sh index 43fc93cbd..8594d8a02 100644 --- a/install/tdarr-v5-install.sh +++ b/install/tdarr-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/technitiumdns-v5-install.sh b/install/technitiumdns-v5-install.sh index a75fbc97b..add94e241 100644 --- a/install/technitiumdns-v5-install.sh +++ b/install/technitiumdns-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/transmission-v5-install.sh b/install/transmission-v5-install.sh index ceb6ddbd7..d6ead82b9 100644 --- a/install/transmission-v5-install.sh +++ b/install/transmission-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/trilium-v5-install.sh b/install/trilium-v5-install.sh index 5a6d2a364..617ec96d6 100644 --- a/install/trilium-v5-install.sh +++ b/install/trilium-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/ubuntu-v5-install.sh b/install/ubuntu-v5-install.sh index a0e2f7c11..d5371ab69 100644 --- a/install/ubuntu-v5-install.sh +++ b/install/ubuntu-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/umbrel-v5-install.sh b/install/umbrel-v5-install.sh index 7468dfb3d..841be4056 100644 --- a/install/umbrel-v5-install.sh +++ b/install/umbrel-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/unifi-v5-install.sh b/install/unifi-v5-install.sh index e86bdeb89..ec68eaadd 100644 --- a/install/unifi-v5-install.sh +++ b/install/unifi-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi #https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-UniFi-Easy-Encrypt-/ccbc7530-dd61-40a7-82ec-22b17f027776 YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") diff --git a/install/uptimekuma-v5-install.sh b/install/uptimekuma-v5-install.sh index 659c96851..5d0883904 100644 --- a/install/uptimekuma-v5-install.sh +++ b/install/uptimekuma-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/vaultwarden-v5-install.sh b/install/vaultwarden-v5-install.sh index e23a1d842..9d1071339 100644 --- a/install/vaultwarden-v5-install.sh +++ b/install/vaultwarden-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/whisparr-v5-install.sh b/install/whisparr-v5-install.sh index 3e10887c7..7f0052413 100644 --- a/install/whisparr-v5-install.sh +++ b/install/whisparr-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/whoogle-install.sh b/install/whoogle-install.sh index f41c34d33..758ae2655 100644 --- a/install/whoogle-install.sh +++ b/install/whoogle-install.sh @@ -86,9 +86,9 @@ apt-get install -y curl &>/dev/null apt-get install -y sudo &>/dev/null msg_ok "Installed Dependencies" -msg_info "Installing pip3" +msg_info "Installing Python3-pip" apt-get install python3-pip -y &>/dev/null -msg_ok "Installed pip3" +msg_ok "Installed Python3-pip" msg_info "Installing Whoogle" pip install brotli &>/dev/null diff --git a/install/whoogle-v5-install.sh b/install/whoogle-v5-install.sh index 0408a7407..5fdd83383 100644 --- a/install/whoogle-v5-install.sh +++ b/install/whoogle-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") @@ -87,9 +88,9 @@ $STD apt-get install -y sudo $STD apt-get install -y mc msg_ok "Installed Dependencies" -msg_info "Installing pip3" +msg_info "Installing Python3-pip" $STD apt-get install -y python3-pip -msg_ok "Installed pip3" +msg_ok "Installed Python3-pip" msg_info "Installing Whoogle" $STD pip install brotli diff --git a/install/wikijs-v5-install.sh b/install/wikijs-v5-install.sh index 28ae5236a..b138e039d 100644 --- a/install/wikijs-v5-install.sh +++ b/install/wikijs-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/wireguard-install.sh b/install/wireguard-install.sh index 92f6f77d6..b71dad3b1 100644 --- a/install/wireguard-install.sh +++ b/install/wireguard-install.sh @@ -110,13 +110,13 @@ chmod +x install.sh ./install.sh --unattended options.conf &>/dev/null msg_ok "Installed WireGuard" -msg_info "Installing pip3" +msg_info "Installing Python3-pip" apt-get install python3-pip -y &>/dev/null pip install flask &>/dev/null pip install ifcfg &>/dev/null pip install flask_qrcode &>/dev/null pip install icmplib &>/dev/null -msg_ok "Installed pip3" +msg_ok "Installed Python3-pip" msg_info "Installing WGDashboard" WGDREL=$(curl -s https://api.github.com/repos/donaldzou/WGDashboard/releases/latest | diff --git a/install/wireguard-v5-install.sh b/install/wireguard-v5-install.sh index 6c30ed01c..c92487b20 100644 --- a/install/wireguard-v5-install.sh +++ b/install/wireguard-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/yunohost-v5-install.sh b/install/yunohost-v5-install.sh index e149ee211..1f79c4a33 100644 --- a/install/yunohost-v5-install.sh +++ b/install/yunohost-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/zigbee2mqtt-v5-install.sh b/install/zigbee2mqtt-v5-install.sh index c703e95bf..a37264cc0 100644 --- a/install/zigbee2mqtt-v5-install.sh +++ b/install/zigbee2mqtt-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m") diff --git a/install/zwave-js-ui-v5-install.sh b/install/zwave-js-ui-v5-install.sh index e1dace8ad..b115a2029 100644 --- a/install/zwave-js-ui-v5-install.sh +++ b/install/zwave-js-ui-v5-install.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash if [ "$VERBOSE" == "yes" ]; then set -x; fi +if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi YW=$(echo "\033[33m") RD=$(echo "\033[01;31m") BL=$(echo "\033[36m")