ia64/xen-unstable

view tools/check/check_brctl @ 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 # These systems have a bridge builtin
9 TOOL="brconfig"
10 which ${TOOL} 1>/dev/null 2>&1 || RC=1
11 ;;
12 Linux)
13 TOOL="brctl"
14 which ${TOOL} 1>/dev/null 2>&1 || RC=1
15 ;;
16 *)
17 TOOL=""
18 echo "Unknown OS" && RC=1
19 ;;
20 esac
22 if test ${RC} -ne 0; then
23 echo
24 echo " *** Check for the bridge control utils (${TOOL}) FAILED"
25 fi
27 exit ${RC}