Skip to content

Commit

Permalink
add passive fixes to init.d scripts and some distro specific stuff to…
Browse files Browse the repository at this point in the history
… the .conf.debian
  • Loading branch information
decker committed May 1, 2009
2 parents 028eeee + 960af11 commit 0220af9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion tools/eucalyptus-cc.in
Expand Up @@ -45,7 +45,10 @@ NAME=eucalyptus-cc

# honor the ENV variable if found otherwise look in root
if [ -z "$EUCALYPTUS" ] ; then
EUCALYPTUS="@prefix@"
EUCALYPTUS="@prefix@"
if [ ! -e ${EUCALYPTUS}/etc/eucalyptus/eucalyptus.conf ] ; then
EUCALYPTUS="/"
fi
fi
export EUCALYPTUS

Expand Down
5 changes: 4 additions & 1 deletion tools/eucalyptus-cloud.in
Expand Up @@ -52,7 +52,10 @@ JAVA="`which java 2> /dev/null`"

# honor the ENV variable if found otherwise look in root
if [ -z "$EUCALYPTUS" ] ; then
EUCALYPTUS="@prefix@"
EUCALYPTUS="@prefix@"
if [ ! -e ${EUCALYPTUS}/etc/eucalyptus/eucalyptus.conf ] ; then
EUCALYPTUS="/"
fi
fi
export EUCALYPTUS

Expand Down
5 changes: 4 additions & 1 deletion tools/eucalyptus-nc.in
Expand Up @@ -47,7 +47,10 @@ MODPROBE="`which modprobe 2> /dev/null`"

# honor the ENV variable if found otherwise look in root
if [ -z "$EUCALYPTUS" ] ; then
EUCALYPTUS="@prefix@"
EUCALYPTUS="@prefix@"
if [ ! -e ${EUCALYPTUS}/etc/eucalyptus/eucalyptus.conf ] ; then
EUCALYPTUS="/"
fi
fi
export EUCALYPTUS

Expand Down
2 changes: 1 addition & 1 deletion tools/eucalyptus.conf.debian
Expand Up @@ -8,7 +8,7 @@

# This variable point to where eucalyptus has been installed.
EUCALYPTUS="/"

AXIS2C_HOME=/usr/lib/axis2
# This is the username that you require eucalyptus to run as
EUCA_USER="eucalyptus"

Expand Down

0 comments on commit 0220af9

Please sign in to comment.