ia64/xen-unstable

view tools/check/check_hotplug @ 7778:0b4596caf761

nloopbacks default is now 8. So vifnum of greater than 7 requires
an adjustment to nloopbacks. Warning comment updated.

Signed-off-by: Nivedita Singhvi (niv@us.ibm.com)
author kaf24@firebug.cl.cam.ac.uk
date Fri Nov 11 10:46:36 2005 +0100 (2005-11-11)
parents 4e0c94871be2
children 5aad7e145e50
line source
1 #!/bin/bash
2 # CHECK-INSTALL
4 function error {
5 echo
6 echo ' *** Check for the hotplug scripts (hotplug) FAILED'
7 exit 1
8 }
10 if [ -x /sbin/udev ] && [ ! -z `udev -V` ] && [ `udev -V` -ge 059 ]; then
11 exit 0
12 fi
14 which hotplug 1>/dev/null 2>&1 || error