Quote:
Originally Posted by NiLuJe
As for showing the IP, a bit of massaging on the output of ip ought to do it, something along the lines of ip addr show ${INTERFACE} to inet | grep inet | awk '{print $2}' | cut -f1 -d/ ought to do it...
|
I use: menu_item:main:IP Address:cmd_output:500:ifconfig | awk '/inet addr/{print substr($2,6)}'