/var/run is a symlink on /run and that's just a tmpfs, create this directory when xcatd starting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9c9388f263
commit
fb0ad21c3f
@ -136,6 +136,11 @@ start)
|
||||
exit
|
||||
fi
|
||||
echo -n "Starting xCATd "
|
||||
#/var/run/ is a symlink on /run and that's just a tmpfs mount created on boot on ubuntu.
|
||||
#if there is not this directory, create first
|
||||
if [ ! -d /var/run/xcat ];then
|
||||
mkdir -p /var/run/xcat
|
||||
fi
|
||||
#xcatroot=`head -n1 /etc/profile.d/xcat.sh`
|
||||
#export $xcatroot
|
||||
# When this script is invoked via the service cmd on RH, it doesn't have PATH
|
||||
|
Loading…
Reference in New Issue
Block a user