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