mirror of https://github.com/tteck/Proxmox.git
commit
5776fe3ce6
|
@ -67,24 +67,24 @@ function default_settings() {
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
echo -e "${DGN}Using CT Type ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
|
echo -e "${DGN}Using CT Type ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
|
||||||
CT_TYPE="1"
|
CT_TYPE="1"
|
||||||
echo -e "${DGN}Using CT Password ${BGN}Automatic Login${CL}"
|
echo -e "${DGN}Using CT Password ${BGN}Automatic Login${CL}"
|
||||||
PW=" "
|
PW=" "
|
||||||
echo -e "${DGN}Using CT ID ${BGN}$NEXTID${CL}"
|
echo -e "${DGN}Using CT ID ${BGN}$NEXTID${CL}"
|
||||||
CT_ID=$NEXTID
|
CT_ID=$NEXTID
|
||||||
echo -e "${DGN}Using CT Name ${BGN}$NSAPP${CL}"
|
echo -e "${DGN}Using CT Name ${BGN}$NSAPP${CL}"
|
||||||
HN=$NSAPP
|
HN=$NSAPP
|
||||||
echo -e "${DGN}Using Disk Size ${BGN}2GB${CL}"
|
echo -e "${DGN}Using Disk Size ${BGN}2GB${CL}"
|
||||||
DISK_SIZE="2"
|
DISK_SIZE="2"
|
||||||
echo -e "${DGN}Using ${BGN}1vCPU${CL}"
|
echo -e "${DGN}Using ${BGN}1vCPU${CL}"
|
||||||
CORE_COUNT="1"
|
CORE_COUNT="1"
|
||||||
echo -e "${DGN}Using ${BGN}512MiB${CL}${DGN} RAM${CL}"
|
echo -e "${DGN}Using ${BGN}512MiB${CL}${DGN} RAM${CL}"
|
||||||
RAM_SIZE="512"
|
RAM_SIZE="512"
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -215,7 +215,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -238,7 +238,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -82,9 +82,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -215,7 +215,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -238,7 +238,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -82,9 +82,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -215,7 +215,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -238,7 +238,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -79,9 +79,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -212,7 +212,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -235,7 +235,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -81,9 +81,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -214,7 +214,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -237,7 +237,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -81,9 +81,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -214,7 +214,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -237,7 +237,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -79,9 +79,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -212,7 +212,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -235,7 +235,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -81,9 +81,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -214,7 +214,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -237,7 +237,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -82,9 +82,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -215,7 +215,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -238,7 +238,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -85,9 +85,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -218,7 +218,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -241,7 +241,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -82,9 +82,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -215,7 +215,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -238,7 +238,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -80,9 +80,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -213,7 +213,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -236,7 +236,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -81,9 +81,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -214,7 +214,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -237,7 +237,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -82,9 +82,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -215,7 +215,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -238,7 +238,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
|
@ -81,9 +81,9 @@ function default_settings() {
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}DHCP${CL}"
|
||||||
NET=dhcp
|
NET=dhcp
|
||||||
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
echo -e "${DGN}Using Gateway Address ${BGN}NONE${CL}"
|
||||||
GATE=" "
|
GATE=""
|
||||||
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
echo -e "${DGN}Using VLAN Tag ${BGN}NONE${CL}"
|
||||||
VLAN=" "
|
VLAN=""
|
||||||
}
|
}
|
||||||
|
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
|
@ -214,7 +214,7 @@ header_info
|
||||||
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE "
|
||||||
read GATE1
|
read GATE1
|
||||||
if [ -z $GATE1 ]; then GATE1="NONE" GATE=" ";
|
if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
|
||||||
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"
|
||||||
else
|
else
|
||||||
GATE=",gw=$GATE1"
|
GATE=",gw=$GATE1"
|
||||||
|
@ -237,7 +237,7 @@ header_info
|
||||||
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
echo -e "${DGN}Using Gateway IP Address ${BGN}$GATE1${CL}"
|
||||||
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
echo -e "${YW}Enter a VLAN Tag, or Press [ENTER] for Default: NONE "
|
||||||
read VLAN1
|
read VLAN1
|
||||||
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN=" ";
|
if [ -z $VLAN1 ]; then VLAN1="NONE" VLAN="";
|
||||||
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
echo -en "${DGN}Set VLAN Tag To ${BL}$VLAN1${CL}"
|
||||||
else
|
else
|
||||||
VLAN=",tag=$VLAN1"
|
VLAN=",tag=$VLAN1"
|
||||||
|
|
Loading…
Reference in New Issue