This commit is contained in:
= 2024-07-15 18:11:34 -06:00
parent e80485897d
commit 5b8c25f199

View File

@ -57,7 +57,7 @@ function shell_start_disp {
echo -n $(hostname)
if [[ -f /sbin/ifconfig ]]
then
ifconfig | awk '/inet / && !/inet6/ && !/127.0.0.1/ {printf " %s ", $2}'
ifconfig | awk '/inet / && !/inet6/ && !/127.0.0.1/ {ips = ips " " $2} END {print ips}'
fi
}