From 18cd99dc86f4c436dab01cb0e6aa932537ed8940 Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 11 Dec 2007 20:54:28 +0000 Subject: [PATCH] changed /etc/init.d/xcatd to get the XCATROOT variable before calling xcatd git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/etc/init.d/xcatd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server-2.0/etc/init.d/xcatd b/xCAT-server-2.0/etc/init.d/xcatd index 947526777..cb821b274 100755 --- a/xCAT-server-2.0/etc/init.d/xcatd +++ b/xCAT-server-2.0/etc/init.d/xcatd @@ -89,6 +89,8 @@ start) exit fi echo -n "Starting xCATd " + xcatroot=`head -n1 /etc/profile.d/xcat.sh` + export $xcatroot xcatd -p /var/run/xcatd.pid && $LOG_SUCCESS || $LOG_FAILURE ;; esac