mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
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
11 lines
128 B
Bash
Executable File
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
|
|
|