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-devel

RE: [Xen-devel] new /etc/xen/network script

To: "Li Ge" <lge@xxxxxxxxxx>
Subject: RE: [Xen-devel] new /etc/xen/network script
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 11 Aug 2005 21:52:11 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Aug 2005 20:50:25 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWeqyyUeV5Xr6/OQwuTQFJ0VqbhjQACXcbg
Thread-topic: [Xen-devel] new /etc/xen/network script
 > 
> Please ignore the timestamp in the log. There was a timing 
> issue. I changed MMDDhhmm but forgot to change YY.
> 
> After "ifdown eth0":

Argghh. There's a really stupid bug in the script.

Please edit the following line:

-if ! ifdown ${netdev} ] ; then
+if ! ifdown ${netdev} ; then

I'm not sure that the extraneous ']' is actually the problem, though.

Please can you add a `which ifdown` just before that line.

Thanks,
Ian

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