Files
xen/tools/check/check_iproute
T
iap10@freefall.cl.cam.ac.uk 4d872314e5 bitkeeper revision 1.1159.258.102 (42642814jW88x6oBUhJL6cOEJiTYjA)
Add a check for the 'ip' iproute tools in the install script.
Suggested by Sam Johnston [samjie@gmail.com]
Signed-off-by: ian@xensource.com
2005-04-18 21:35:16 +00:00

11 lines
128 B
Bash
Executable File

#!/bin/bash
# CHECK-INSTALL
function error {
echo 'Check for iproute (ip addr) failed.'
exit 1
}
ip addr list || error