Option to disable IPv6 (#986)

This commit is contained in:
tteckster 2023-01-26 03:55:42 -05:00 committed by GitHub
parent 61df2ea119
commit 6964f82b4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
160 changed files with 889 additions and 22 deletions

View File

@ -125,6 +125,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -369,6 +378,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -348,6 +357,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -125,6 +125,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -361,6 +370,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -362,6 +371,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export ST=$FUSE export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -351,6 +360,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -124,6 +124,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -399,6 +408,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export SERV=$SERVER export SERV=$SERVER
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -378,6 +387,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -1,12 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
function header_info { function header_info {
cat <<"EOF" cat <<"EOF"
____ __________ _______ _ __ ____ __ _
/ __ \/ ____/ __ )/ _/ | / | / / / __ \___v5/ /_ (_)___ _____
/ / / / __/ / __ |/ // /| | / |/ / / / / / _ \/ __ \/ / __ `/ __ \
/ /_/ / /_v5/ /_/ // // ___ |/ /| / / /_/ / __/ /_/ / / /_/ / / / /
/_____/_____/_____/___/_/ |_/_/ |_/ /_____/\___/_.___/_/\__,_/_/ /_/
EOF EOF
} }
clear clear
@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -123,6 +123,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -348,6 +357,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -125,6 +125,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -359,6 +368,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export ST=$FUSE export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -371,6 +380,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -351,6 +360,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -358,6 +367,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -351,6 +360,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -431,6 +440,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -120,6 +120,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -419,6 +428,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -427,6 +436,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export ST=$FUSE export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -358,6 +367,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -371,6 +380,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -353,6 +362,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -129,6 +129,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -361,6 +370,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -125,6 +125,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -350,6 +359,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -353,6 +362,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -354,6 +363,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -351,6 +360,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -124,6 +124,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -363,6 +372,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -461,6 +470,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -355,6 +364,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -388,6 +397,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -350,6 +359,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -353,6 +362,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -353,6 +362,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -420,6 +429,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -125,6 +125,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -373,6 +382,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -128,6 +128,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -371,6 +380,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -130,6 +130,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -402,6 +411,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -353,6 +362,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -362,6 +371,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -353,6 +362,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -414,6 +423,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -371,6 +380,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -123,6 +123,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -355,6 +364,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -360,6 +369,7 @@ fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export ST=$FUSE export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,6 +361,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -369,6 +378,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -125,6 +125,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -420,6 +429,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -123,6 +123,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -348,6 +357,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -351,6 +360,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -365,6 +374,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,13 +361,13 @@ if [ "$UPD" == "2" ]; then
exit exit
fi fi
IP=$(hostname -I | awk '{print $1}') IP=$(hostname -I | awk '{print $1}')
msg_info "Installing pip3" msg_info "Installing Python3-pip"
apt-get install -y python3-pip &>/dev/null apt-get install -y python3-pip &>/dev/null
pip install flask &>/dev/null pip install flask &>/dev/null
pip install ifcfg &>/dev/null pip install ifcfg &>/dev/null
pip install flask_qrcode &>/dev/null pip install flask_qrcode &>/dev/null
pip install icmplib &>/dev/null pip install icmplib &>/dev/null
msg_ok "Installed pip3" msg_ok "Installed Python3-pip"
msg_info "Installing WGDashboard" msg_info "Installing WGDashboard"
WGDREL=$(curl -s https://api.github.com/repos/donaldzou/WGDashboard/releases/latest | WGDREL=$(curl -s https://api.github.com/repos/donaldzou/WGDashboard/releases/latest |
@ -407,6 +416,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -122,6 +122,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,6 +356,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -127,6 +127,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -382,6 +391,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -126,6 +126,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Disable IPv6: ${BGN}No${CL}"
DISABLEIP6="no"
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}" echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU="" MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -365,6 +374,7 @@ else
fi fi
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
export DISABLEIPV6=$DISABLEIP6
export VERBOSE=$VERB export VERBOSE=$VERB
export STD=$VERB2 export STD=$VERB2
export SSH_ROOT=${SSH} export SSH_ROOT=${SSH}

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")
@ -86,9 +87,9 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing pip3" msg_info "Installing Python3-pip"
$STD apt-get install -y python3-pip $STD apt-get install -y python3-pip
msg_ok "Installed pip3" msg_ok "Installed Python3-pip"
msg_info "Installing Deluge" msg_info "Installing Deluge"
$STD pip install deluge[all] $STD pip install deluge[all]

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -87,9 +87,9 @@ apt-get install -y sudo &>/dev/null
apt-get install -y git &>/dev/null apt-get install -y git &>/dev/null
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing pip3" msg_info "Installing Python3-pip"
apt-get install -y python3-pip &>/dev/null apt-get install -y python3-pip &>/dev/null
msg_ok "Installed pip3" msg_ok "Installed Python3-pip"
msg_info "Installing ESPHome" msg_info "Installing ESPHome"
pip3 install esphome &>/dev/null pip3 install esphome &>/dev/null

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")
@ -88,9 +89,9 @@ $STD apt-get install -y mc
$STD apt-get install -y git $STD apt-get install -y git
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing pip3" msg_info "Installing Python3-pip"
$STD apt-get install -y python3-pip $STD apt-get install -y python3-pip
msg_ok "Installed pip3" msg_ok "Installed Python3-pip"
msg_info "Installing ESPHome" msg_info "Installing ESPHome"
$STD pip3 install esphome $STD pip3 install esphome

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi 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") YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m") RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m") BL=$(echo "\033[36m")

View File

@ -86,9 +86,9 @@ apt-get install -y curl &>/dev/null
apt-get install -y sudo &>/dev/null apt-get install -y sudo &>/dev/null
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing pip3" msg_info "Installing Python3-pip"
apt-get install -y python3-pip &>/dev/null apt-get install -y python3-pip &>/dev/null
msg_ok "Installed pip3" msg_ok "Installed Python3-pip"
get_latest_release() { get_latest_release() {
curl -sL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 curl -sL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4

Some files were not shown because too many files have changed in this diff Show More