From 72f695d1af17e1db1294162b963631d2ff582fb9 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 6 May 2009 20:50:57 -0500 Subject: [PATCH] * bin/ip-address: --detail shows all inet addr's in ifconfig Signed-off-by: Dustin Kirkland --- bin/ip-address | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ip-address b/bin/ip-address index edbd4482..0b5fe445 100755 --- a/bin/ip-address +++ b/bin/ip-address @@ -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