* bin/ip-address: --detail shows all inet addr's in ifconfig

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-05-06 20:50:57 -05:00
commit 72f695d1af

View file

@ -20,7 +20,7 @@
PKG="byobu"
if [ "$1" = "--detail" ]; then
hostname -i
/sbin/ifconfig | grep "inet addr" | sed 's/^\s*//' | sed 's/\s*$//'
exit 0
fi