Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/mcore-register-client.in

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

revision 2453 by niro, Thu Sep 3 14:24:20 2015 UTC revision 2454 by niro, Thu Sep 3 14:25:54 2015 UTC
# Line 9  SSLSAY_IP="${MCORE_CONTROL_SERVER}" Line 9  SSLSAY_IP="${MCORE_CONTROL_SERVER}"
9  SSLSAY_PORT="6666"  SSLSAY_PORT="6666"
10  register_client  register_client
11    
12  if [ -f ${MCORE_CONFIG_PATH}/serial ]  if [[ -z $(mcore-serial) ]]
13  then  then
  RETVAL=0  
 else  
14   RETVAL=1   RETVAL=1
15    else
16     RETVAL=0
17  fi  fi
18    
19  exit ${RETVAL}  exit ${RETVAL}

Legend:
Removed from v.2453  
changed lines
  Added in v.2454