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

[Xen-users] network-script don't start on boot

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] network-script don't start on boot
From: "Lucas Mocellin" <lucasmocellin@xxxxxxxxx>
Date: Sun, 3 Aug 2008 15:45:58 -0300
Delivery-date: Sun, 03 Aug 2008 11:46:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=1NFkhqsK/75D6NAY4S8USxEtTQOxz24KBJPXbtIgbYY=; b=c45Sz+r0+zr0GKjCWMmmXgn6UU916zBbZqYChEM5sBkUi+bXfAz7djjtXXc4VCgFAp FNmjisfqhlD7RM7BgW8gat6lC7OwWwZ2C84DPhHg0ZFY34XS/odRJFjuAiEPO/6eDy8Y sTtwWWHw2xFZyP2EFROKZhfSFU22h3iUjzL0s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=muOCLEPYO/vyqFcE9iNaC/gwvmhbmlNZwPDhXQfIxToz4X8+pHZJZHayv6mhRveicg oCUhz2yqAIQ+QKvFlWmA+wZ4NReUIhSKpE2onqwT8tfLrv9sj+pjvUAUQJ2Pud/iG2gC 2HoRe3i0oijHQFpHBWMkFqdGU7wYG8C0WVOak=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I'm having trouble with the network-script.

I have 2 networks and I did a script to bridge both.
-rwxr-xr-x 1 root root  520 2008-08-03 15:28 network-bridge-eth0-eth1
cat network-bridge-eth0-eth1
# !/bin/sh
# network-xen-multi-bridge
# Exit if anything goes wrong
set -e

dir=$(dirname "$0")

# First arg is operation.
#shift
case $1 in
start)
        "$dir/network-bridge" "$@" netdev=eth0
        "$dir/network-bridge" "$@" netdev=eth1
        ;;
stop)
        #"$dir/network-bridge" "$@" bridge=peth0 netdev=eth0
        "$dir/network-bridge" "$@" netdev=eth1
        ;;
status)
        "$dir/network-bridge" "$@"
        ;;
*)
        echo 'Unknown command: ' ${OP}
        echo 'Valid commands are: start, stop, status'
        exit 1
        ;;
esac

If I start the script manually, all goes fine, but the script don't start at boot.

There is execution permission and are in xend-config.sxp

Anyboy has any idea?

thanks,

Lucas.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>