paul- wrote:
>
> The way we prefer to do it in pcp, is to look at the local device and
> see what LMS server squeezelite is connected to.
>
> >
Code:
--------------------
> >
> IP=$(netstat -nt 2>&1 | grep :3483 | grep ESTABLISHED | uniq -f 4 | awk '{
print $5 }' | grep :3483 | awk -F: '{ print $1 }')
>
--------------------
> >
>
Thanks, will look into that as well. 👍 Although for now, doing
a Curl to the server name without the ".local" seems to work as well.
------------------------------------------------------------------------
jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
View this thread: http://forums.slimdevices.com/showthread.php?t=109270
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix