change for ubuntu xcatd start

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-10-25 08:55:08 +00:00
parent b16cb69284
commit c3c7e46312

View File

@ -77,7 +77,7 @@ restart)
$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