ia64/xen-unstable

view tools/check/check_iproute @ 13672:d14da87feed6

[IA64] New resend_irq_on_evtchn() params

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild2.aw
date Sun Jan 28 16:33:18 2007 -0700 (2007-01-28)
parents cbc181eb54fa
children 6ba04ec03dec
line source
1 #!/bin/sh
2 # CHECK-INSTALL
4 RC=0
6 case ${OS} in
7 OpenBSD|NetBSD|FreeBSD)
8 TOOL="ifconfig"
9 eval ${TOOL} -a 1>/dev/null 2>&1 || RC=1
10 ;;
11 Linux)
12 TOOL="ip addr"
13 eval ${TOOL} list 1>/dev/null 2>&1 || RC=1
14 ;;
15 *)
16 TOOL=""
17 echo "Unknown OS" && RC=1
18 ;;
19 esac
21 if test ${RC} -ne 0; then
22 echo
23 echo " *** Check for iproute (${TOOL}) FAILED"
24 fi
26 exit ${RC}