ia64/xen-unstable

view tools/control/xenctl @ 707:c336be9fa2b2

bitkeeper revision 1.418.1.1 (3f5f3d862n2oSqg-bvcUtq4TeyrP1g)

Many files:
Attempt at new xenctl
author tlh20@labyrinth.cl.cam.ac.uk
date Wed Sep 10 15:04:38 2003 +0000 (2003-09-10)
parents 5e169da77286
children ad58e3192187
line source
1 #!/bin/bash
3 if [ -z "$DEFAULTS_FILE" ] ; then DEFAULTS_FILE=xenctl.xml ; fi
4 if [ -z "$DEFAULTS_PATH" ] ; then DEFAULTS_PATH=.:/etc:/var/lib/xen ; fi
5 if [ -z "$QUERY_DEV" ] ; then QUERY_DEV=eth0 ; fi
6 if [ -z "$IFCONFIG" ] ; then IFCONFIG=/sbin/ifconfig ; fi
7 if [ -z "$ROUTE" ] ; then ROUTE=/sbin/route ; fi
8 if [ -z "$JAVA" ] ; then JAVA=java ; fi
11 ARGS="-DDEFAULTS_FILE=$DEFAULTS_FILE -DDEFAULTS_PATH=$DEFAULTS_PATH"
13 $JAVA $ARGS -jar $(dirname $0)/xenctl-cmdline.jar $*