From c3c7e46312a9361dbcb25c95b6fa851517d444cd Mon Sep 17 00:00:00 2001 From: xq2005 Date: Thu, 25 Oct 2012 08:55:08 +0000 Subject: [PATCH] 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 --- xCAT-server/etc/init.d/xcatd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/etc/init.d/xcatd b/xCAT-server/etc/init.d/xcatd index 734542e92..2ae1c48f1 100755 --- a/xCAT-server/etc/init.d/xcatd +++ b/xCAT-server/etc/init.d/xcatd @@ -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