mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* bin/ip-address: --detail shows all inet addr's in ifconfig
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
c883bc4da0
commit
72f695d1af
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
PKG="byobu"
|
PKG="byobu"
|
||||||
|
|
||||||
if [ "$1" = "--detail" ]; then
|
if [ "$1" = "--detail" ]; then
|
||||||
hostname -i
|
/sbin/ifconfig | grep "inet addr" | sed 's/^\s*//' | sed 's/\s*$//'
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue