diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-01-13 18:57:43 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-01-13 18:57:43 +0000 |
commit | 4c56cbf692e1abce9b2bd1329b14a354976e282c (patch) | |
tree | d3f84230756caae45aa92cef207cc49b81ec7ab9 /app-sci | |
parent | enable on alpha (diff) | |
download | gentoo-2-4c56cbf692e1abce9b2bd1329b14a354976e282c.tar.gz gentoo-2-4c56cbf692e1abce9b2bd1329b14a354976e282c.tar.bz2 gentoo-2-4c56cbf692e1abce9b2bd1329b14a354976e282c.zip |
Changed startup script to function properly at boot time
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/zetagrid/files/zetagrid.init | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app-sci/zetagrid/files/zetagrid.init b/app-sci/zetagrid/files/zetagrid.init index 2f174ac1070a..4f1fd2c4a6a3 100644 --- a/app-sci/zetagrid/files/zetagrid.init +++ b/app-sci/zetagrid/files/zetagrid.init @@ -6,6 +6,8 @@ ZETADIR=/opt/zetagrid/ start() { ebegin "Starting zetagrid" cd ${ZETADIR} + JAVA_HOME="/bin/grep -e "JAVA_HOME" /etc/profile.env | sed -e "s/^.*'\(.*\)'$/\1/"" + export PATH=$PATH:$JAVA_HOME/bin ./zeta.sh >/dev/null eend $? "Failed to start zetagrid" } |