ia64/xen-unstable

view tools/check/check_iproute @ 6946:e703abaf6e3d

Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author emellor@ewan
date Sun Sep 18 14:42:13 2005 +0100 (2005-09-18)
parents 3233e7ecfa9f
children 06d84bf87159
line source
1 #!/bin/bash
2 # CHECK-INSTALL
4 function error {
5 echo
6 echo ' *** Check for iproute (ip addr) FAILED'
7 exit 1
8 }
10 ip addr list 1>/dev/null 2>&1 || error