mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 20:30:56 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user