From 6964f82b4d702ab1f056146f931f6cebbbde5d75 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 26 Jan 2023 03:55:42 -0500 Subject: [PATCH] Option to disable IPv6 (#986) --- ct/adguard-v5.sh | 10 ++++++++++ ct/alpine-v5.sh | 10 ++++++++++ ct/archlinux-v5.sh | 10 ++++++++++ ct/autobrr-v5.sh | 10 ++++++++++ ct/blocky-v5.sh | 10 ++++++++++ ct/casaos-v5.sh | 10 ++++++++++ ct/changedetection-v5.sh | 10 ++++++++++ ct/cronicle-v5.sh | 10 ++++++++++ ct/daemonsync-v5.sh | 10 ++++++++++ ct/dashy-v5.sh | 10 ++++++++++ ct/debian-v5.sh | 22 ++++++++++++++++------ ct/deconz-v5.sh | 10 ++++++++++ ct/deluge-v5.sh | 10 ++++++++++ ct/docker-v5.sh | 10 ++++++++++ ct/emby-v5.sh | 10 ++++++++++ ct/emqx-v5.sh | 10 ++++++++++ ct/esphome-v5.sh | 10 ++++++++++ ct/grafana-v5.sh | 10 ++++++++++ ct/grocy-v5.sh | 10 ++++++++++ ct/heimdalldashboard-v5.sh | 10 ++++++++++ ct/homeassistant-core-v5.sh | 10 ++++++++++ ct/homeassistant-v5.sh | 10 ++++++++++ ct/homebridge-v5.sh | 10 ++++++++++ ct/homepage-v5.sh | 10 ++++++++++ ct/homer-v5.sh | 10 ++++++++++ ct/hyperion-v5.sh | 10 ++++++++++ ct/influxdb-v5.sh | 10 ++++++++++ ct/iobroker-v5.sh | 10 ++++++++++ ct/jellyfin-v5.sh | 10 ++++++++++ ct/k0s-v5.sh | 10 ++++++++++ ct/kavita-v5.sh | 10 ++++++++++ ct/keycloak-v5.sh | 10 ++++++++++ ct/lidarr-v5.sh | 10 ++++++++++ ct/magicmirror-v5.sh | 10 ++++++++++ ct/mariadb-v5.sh | 10 ++++++++++ ct/meshcentral-v5.sh | 10 ++++++++++ ct/motioneye-v5.sh | 10 ++++++++++ ct/mqtt-v5.sh | 10 ++++++++++ ct/n8n-v5.sh | 10 ++++++++++ ct/navidrome-v5.sh | 10 ++++++++++ ct/nextcloudpi-v5.sh | 10 ++++++++++ ct/nginxproxymanager-v5.sh | 10 ++++++++++ ct/nocodb-v5.sh | 10 ++++++++++ ct/node-red-v5.sh | 10 ++++++++++ ct/omada-v5.sh | 10 ++++++++++ ct/omv-v5.sh | 10 ++++++++++ ct/openhab-v5.sh | 10 ++++++++++ ct/paperless-ngx-v5.sh | 10 ++++++++++ ct/photoprism-v5.sh | 10 ++++++++++ ct/pihole-v5.sh | 10 ++++++++++ ct/plex-v5.sh | 10 ++++++++++ ct/podman-homeassistant-v5.sh | 10 ++++++++++ ct/podman-v5.sh | 10 ++++++++++ ct/postgresql-v5.sh | 10 ++++++++++ ct/prometheus-v5.sh | 10 ++++++++++ ct/prowlarr-v5.sh | 10 ++++++++++ ct/radarr-v5.sh | 10 ++++++++++ ct/readarr-v5.sh | 10 ++++++++++ ct/sabnzbd-v5.sh | 10 ++++++++++ ct/scrypted-v5.sh | 10 ++++++++++ ct/shinobi-v5.sh | 10 ++++++++++ ct/sonarr-v5.sh | 10 ++++++++++ ct/syncthing-v5.sh | 10 ++++++++++ ct/tdarr-v5.sh | 10 ++++++++++ ct/technitiumdns-v5.sh | 10 ++++++++++ ct/transmission-v5.sh | 10 ++++++++++ ct/trilium-v5.sh | 10 ++++++++++ ct/ubuntu-v5.sh | 10 ++++++++++ ct/umbrel-v5.sh | 10 ++++++++++ ct/unifi-v5.sh | 10 ++++++++++ ct/uptimekuma-v5.sh | 10 ++++++++++ ct/vaultwarden-v5.sh | 10 ++++++++++ ct/whisparr-v5.sh | 10 ++++++++++ ct/whoogle-v5.sh | 10 ++++++++++ ct/wikijs-v5.sh | 10 ++++++++++ ct/wireguard-v5.sh | 14 ++++++++++++-- ct/yunohost-v5.sh | 10 ++++++++++ ct/zigbee2mqtt-v5.sh | 10 ++++++++++ ct/zwave-js-ui-v5.sh | 10 ++++++++++ install/adguard-v5-install.sh | 1 + install/autobrr-v5-install.sh | 1 + install/blocky-v5-install.sh | 1 + install/casaos-v5-install.sh | 1 + install/changedetection-v5-install.sh | 1 + install/cronicle-v5-install.sh | 1 + install/daemonsync-v5-install.sh | 1 + install/dashy-v5-install.sh | 1 + install/debian-v5-install.sh | 1 + install/deconz-v5-install.sh | 1 + install/deluge-v5-install.sh | 5 +++-- install/docker-v5-install.sh | 1 + install/emby-v5-install.sh | 1 + install/emqx-v5-install.sh | 1 + install/esphome-install.sh | 4 ++-- install/esphome-v5-install.sh | 5 +++-- install/grafana-v5-install.sh | 1 + install/grocy-v5-install.sh | 1 + install/heimdalldashboard-v5-install.sh | 1 + install/homeassistant-core-v5-install.sh | 1 + install/homeassistant-install.sh | 4 ++-- install/homeassistant-v5-install.sh | 1 + install/homebridge-v5-install.sh | 1 + install/homepage-v5-install.sh | 1 + install/homer-v5-install.sh | 1 + install/hyperion-v5-install.sh | 1 + install/influxdb-v5-install.sh | 1 + install/iobroker-v5-install.sh | 1 + install/jellyfin-v5-install.sh | 1 + install/k0s-v5-install.sh | 1 + install/kavita-v5-install.sh | 1 + install/keycloak-v5-install.sh | 1 + install/lidarr-v5-install.sh | 1 + install/magicmirror-v5-install.sh | 1 + install/mariadb-v5-install.sh | 1 + install/meshcentral-v5-install.sh | 1 + install/motioneye-v5-install.sh | 1 + install/mqtt-v5-install.sh | 1 + install/n8n-v5-install.sh | 1 + install/navidrome-v5-install.sh | 1 + install/nextcloudpi-v5-install.sh | 1 + install/nginxproxymanager-v5-install.sh | 1 + install/nocodb-v5-install.sh | 1 + install/node-red-v5-install.sh | 1 + install/omada-v5-install.sh | 1 + install/omv-v5-install.sh | 1 + install/openhab-v5-install.sh | 1 + install/paperless-ngx-v5-install.sh | 1 + install/photoprism-v5-install.sh | 1 + install/pihole-v5-install.sh | 1 + install/plex-v5-install.sh | 1 + install/podman-homeassistant-v5-install.sh | 1 + install/podman-v5-install.sh | 1 + install/postgresql-v5-install.sh | 1 + install/prometheus-v5-install.sh | 1 + install/prowlarr-v5-install.sh | 1 + install/radarr-v5-install.sh | 1 + install/readarr-v5-install.sh | 1 + install/sabnzbd-v5-install.sh | 1 + install/scrypted-v5-install.sh | 1 + install/shinobi-v5-install.sh | 1 + install/sonarr-v5-install.sh | 1 + install/syncthing-v5-install.sh | 1 + install/tdarr-v5-install.sh | 1 + install/technitiumdns-v5-install.sh | 1 + install/transmission-v5-install.sh | 1 + install/trilium-v5-install.sh | 1 + install/ubuntu-v5-install.sh | 1 + install/umbrel-v5-install.sh | 1 + install/unifi-v5-install.sh | 1 + install/uptimekuma-v5-install.sh | 1 + install/vaultwarden-v5-install.sh | 1 + install/whisparr-v5-install.sh | 1 + install/whoogle-install.sh | 4 ++-- install/whoogle-v5-install.sh | 5 +++-- install/wikijs-v5-install.sh | 1 + install/wireguard-install.sh | 4 ++-- install/wireguard-v5-install.sh | 1 + install/yunohost-v5-install.sh | 1 + install/zigbee2mqtt-v5-install.sh | 1 + install/zwave-js-ui-v5-install.sh | 1 + 160 files changed, 889 insertions(+), 22 deletions(-) diff --git a/ct/adguard-v5.sh b/ct/adguard-v5.sh index 56035b9d63..817bb5fdc8 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 5ef6197c06..7f9c7d0367 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 015661f0d6..afef7c5a4b 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 0bf2ba4020..5f3589ba59 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 d82c7a933a..7291b0bee3 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 f41c1c9683..2a7e1c93f0 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 d0d7b8902f..e50e3fda56 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 41f618b4aa..e1e831cc12 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 c21c5de652..c79e3cacc3 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 98ed2189a7..d3ed0919f7 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 25af81a543..9f007fb161 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 7b7334700a..f99fffb443 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 8450b4573d..f612441372 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 8b29ccd8a5..d2e3c0a7b4 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 e5637edefd..7392ac6130 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 45471134d1..26360cbcce 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 a3c650a576..6ec4e410d6 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 291af104cb..85e1b111e7 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 7b404d1fca..62441b72bd 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 62bf3c8e1c..00dddee1b2 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 8dfdc3cd41..0cc1acb4c3 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 a9320d6c70..afaa19ebe0 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 d0ed805bab..d036f6ed03 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 0ddcf04fdb..413bcb9ac8 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 281ffdb578..fcb920b0d5 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 ac0a241d77..51353a73c9 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 e7dae7cfd9..03681cb6d6 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 09ca266228..257ae0bd1a 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 77d93abe56..127dcd251b 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 84f721996e..bcf5f0ee50 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 2b80642efd..d0d21213bc 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 ab06136303..2d9e16fe64 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 11929ba566..07586f0590 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 1b523e7acf..9a738bcfd0 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 716e925f6e..96fdb8e15d 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 75444ab2c1..37d26f3fbd 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 a267063abb..f5b6186d94 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 ade50ecefe..8cc7274e32 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 87888de463..c4a371af45 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 3754dfa317..06f2a828bb 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 c57934f8ff..af9a035b6b 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 88dba9c921..41cf41a882 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 c7db9a0a9b..d552dd845d 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 9928b776eb..d6239acc72 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 23689d0e2e..c200d3fd53 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 5adcf83868..8591a72ebd 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 3e7fab9396..837f815cf1 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 25a0b51fb0..b4de9ab6df 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 c458183aea..ccab7aad96 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 3b46de9a72..299c53d055 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 5274f9b7b5..3089461778 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 9a19d4b9f1..55f0f9c564 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 0deea5d230..c4475f010c 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 7cc1fd6f9e..e124714289 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 a3c2a7b689..2de01b1105 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 589a1ff727..ed741da70e 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 0f1b8a79c2..3ae34a9c45 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 b87aace941..d8e03dfba1 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 a6c859ccc4..c548046518 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 12510995e5..3b4c7eda5d 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 61dc52bf36..0a3ca6cf3d 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 2fb4600932..bf291d82c0 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 0d7743d4e1..fc983f24c3 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 7b6f59f84e..882fa1d72c 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 fac927a238..ec98b23c5b 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 e415d8f743..53bf082a63 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 b8e733a78e..9facb7ca14 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 343b95f9da..0cdab57f05 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 b908617d5c..684b4fc2c5 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 b22673044e..5f07d29aa8 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 60c22a50e7..c29a383217 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 deed57970a..fda70c3948 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 c00bcec028..2763652606 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 e6b6ef7d9b..b860007679 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 1857c2fd8c..1ed0b3b88f 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 722884a6b7..376ff1869a 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 973f62b839..e9d630c48c 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 10df801e03..e006440e0f 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 9aff96ea14..3018177d6a 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 c0cb913087..562c14abe6 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 08b1490db7..c66c362ce5 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 3a09d1b821..f4f9d698ba 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 9f076d4320..98e7ae7707 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 ae77b3a07a..da5891f144 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 0bee1960ff..dc0dbd07da 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 670d3c2e27..f5f9408b63 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 205163bfee..4e4a084f30 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 ffb9f70b5b..f89c2ffbf2 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 fa12d272c9..5b68984776 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 cb4bebc7cf..963dbe936b 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 c0edccb1f3..5d4d19bb8f 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 a13941c04d..29d38f1b26 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 718f008940..26b8daa548 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 8a1b73d566..fbd8570a35 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 bddd003551..e4fbcc5808 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 189cbae3f4..d9dbcdfca6 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 1e4c784b3e..c56342c782 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 33e8ef13e3..a1fc064ba5 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 6070a81a02..2b3a3333a0 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 1999820761..52c3c427ac 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 603028b382..cb5c9ccf49 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 bd218d9e64..3aedb557e4 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 7069e0ee1e..b2d8ada477 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 c9e8172ef3..9f2db9fab8 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 13263722f9..05558e6b65 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 27e263e985..5affc2de2d 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 b592dced3a..a59032a844 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 2f0f1126ce..17683b6702 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 24b67810ce..ab239220b3 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 316ecaf11a..bbf7bc1aba 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 797046dffd..53e03b5c93 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 061fbd317c..f541f5530c 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 1902ced304..9f47644af5 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 8985b950d5..a705ad233e 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 0559a9325d..c5e5ed15b5 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 57a103de96..6dd05e2e0f 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 dfd7fd037b..b75ccd3946 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 03a27b723a..677f21b515 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 f0c9e7676e..8ef3f8595d 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 2fbce9fc2a..e609239384 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 3b75277385..7fb0efa933 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 bcf5d676b5..15b515bcaf 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 a554c35bdc..de324a3254 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 dd1e986bb3..30191935d6 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 89bc31168c..9a1801a6e1 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 ced8d90da9..1649094cec 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 8040e11395..496ae80ab2 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 661ab7d949..d8831deb80 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 87bc2d6954..091351f520 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 b048ada96a..64d332519b 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 7ed0482b49..20d9c70cd6 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 48038cba2e..9fdad038a6 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 a092835d89..48d2036440 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 b5f37958da..de31eb50b0 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 f7f9edd859..f22ccc1ab4 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 a0a84993b4..4f262889c5 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 8c90fcc2f0..a776b2cfa4 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 6cd98a5c55..fd8b2d5131 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 40f4d6ac80..f0694686aa 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 6ea9878738..838718b82c 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 f942d8ef08..fbbac3ac97 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 4845c1ec89..dd5d92f7cb 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 43fc93cbdd..8594d8a024 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 a75fbc97bf..add94e2419 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 ceb6ddbd78..d6ead82b97 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 5a6d2a3642..617ec96d67 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 a0e2f7c11f..d5371ab697 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 7468dfb3de..841be4056b 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 e86bdeb892..ec68eaadd2 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 659c968510..5d0883904e 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 e23a1d842b..9d10713392 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 3e10887c75..7f00524139 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 f41c34d336..758ae26553 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 0408a74074..5fdd83383e 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 28ae5236a6..b138e039d3 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 92f6f77d63..b71dad3b13 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 6c30ed01cd..c92487b207 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 e149ee2115..1f79c4a330 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 c703e95bf8..a37264cc03 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 e1dace8adb..b115a2029c 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")