startup
This commit is contained in:
parent
e80485897d
commit
5b8c25f199
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user