WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Add a check for the 'ip' iproute tools in the install sc

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add a check for the 'ip' iproute tools in the install script.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Mon, 18 Apr 2005 21:35:16 +0000
Delivery-date: Tue, 19 Apr 2005 01:08:23 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1836, 2005/04/18 22:35:16+01:00, iap10@xxxxxxxxxxxxxxxxxxxxx

        Add a check for the 'ip' iproute tools in the install script.
        Suggested by Sam Johnston [samjie@xxxxxxxxx]
        Signed-off-by: ian@xxxxxxxxxxxxx



 check_iproute |   10 ++++++++++
 1 files changed, 10 insertions(+)


diff -Nru a/tools/check/check_iproute b/tools/check/check_iproute
--- /dev/null   Wed Dec 31 16:00:00 196900
+++ b/tools/check/check_iproute 2005-04-18 21:08:39 -04:00
@@ -0,0 +1,10 @@
+#!/bin/bash
+# CHECK-INSTALL
+
+function error {
+   echo 'Check for iproute (ip addr) failed.'
+   exit 1
+}
+
+ip addr list || error
+

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>