Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/control.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2471 by niro, Tue Sep 8 08:25:33 2015 UTC revision 2472 by niro, Tue Sep 8 08:35:57 2015 UTC
# Line 21  control_client() Line 21  control_client()
21   local serial="$1"   local serial="$1"
22   local command="${@/$1/}"   local command="${@/$1/}"
23   local SSLSAY_IP   local SSLSAY_IP
24     local SSLSAY_PORT
25    
26   SSLSAY_IP=$(mysqldo "select ip from state_connected where serial='${serial}'")   SSLSAY_IP=$(mysqldo "select ip from state_connected where serial='${serial}'")
27   if [[ -z ${SSLSAY_IP} ]]   if [[ -z ${SSLSAY_IP} ]]
# Line 29  control_client() Line 30  control_client()
30   return 1   return 1
31   fi   fi
32    
33     SSLSAY_PORT="6666"
34   nsslsay_fingerprint "${command}"   nsslsay_fingerprint "${command}"
35  }  }

Legend:
Removed from v.2471  
changed lines
  Added in v.2472