fixes testgetifaddr.sh for Solaris
This commit is contained in:
parent
77968a09d9
commit
d9fdb58a05
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
OS=`uname -s`
|
OS=`uname -s`
|
||||||
case $OS in
|
case $OS in
|
||||||
OpenBSD | Darwin)
|
OpenBSD | Darwin | SunOS)
|
||||||
NS="`which netstat`" || exit 1
|
NS="`which netstat`" || exit 1
|
||||||
IFCONFIG="`which ifconfig`" || exit 1
|
IFCONFIG="`which ifconfig`" || exit 1
|
||||||
EXTIF="`$NS -r -f inet | grep 'default' | awk '{ print $NF }' `" || exit 1
|
EXTIF="`$NS -r -f inet | grep 'default' | awk '{ print $NF }' `" || exit 1
|
||||||
|
|
Loading…
Reference in New Issue