This commit is contained in:
2023-11-18 21:55:47 -06:00
parent 69bb398c9c
commit dc664b6dd9
2 changed files with 2 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
action="$1"
FOLDER='/opt/idssys/linupx'
VERS='6.60.19-11162023'
VERS='6.60.20-11182023'
IPERFVER="3.15"

View File

@@ -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}