From 4c56cbf692e1abce9b2bd1329b14a354976e282c Mon Sep 17 00:00:00 2001 From: Michael Imhof Date: Mon, 13 Jan 2003 18:57:43 +0000 Subject: Changed startup script to function properly at boot time --- app-sci/zetagrid/files/zetagrid.init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app-sci') 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" } -- cgit v1.2.3-65-gdbad