reload the xcatd on ubuntu

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-10-30 09:26:17 +00:00
parent 308acd2839
commit d8b9521d56

View File

@ -91,7 +91,7 @@ reload)
$STATUS > /dev/null 2>&1
if [ "$?" = "0" ]; then
ver=`nodels --version`
if [[ $ver < "Version 2.6" ]]; then # force to stop xcatd first when update from version earlier than 2.6
if [ "$ver" \< "Version 2.6" ]; then # force to stop xcatd first when update from version earlier than 2.6
$0 stop
fi
fi