updat
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
action="$1"
|
||||
FOLDER='/opt/idssys/linupx'
|
||||
VERS='6.60.19-11162023'
|
||||
VERS='6.60.20-11182023'
|
||||
|
||||
IPERFVER="3.15"
|
||||
|
||||
|
||||
@@ -769,8 +769,7 @@ IPV6_DISABLED=yes
|
||||
echo -en "${idsCL[LightYellow]}Domain (optional): ${idsCL[Default]}"
|
||||
read -e DOMAIN
|
||||
echo
|
||||
REPIP=`hostname -I`
|
||||
REPIP=${REPIP/ /}
|
||||
REPIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
|
||||
echo -en "${idsCL[LightYellow]}IP Address [Current='${idsCL[White]}${REPIP}${idsCL[LightYellow]}']: ${idsCL[Default]}"
|
||||
read -e IPADDRESS
|
||||
[ "${IPADDRESS}" == "" ] && IPADDRESS=${REPIP}
|
||||
|
||||
Reference in New Issue
Block a user