updat
This commit is contained in:
@@ -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