Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/mcore-controld.in

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

revision 2304 by niro, Mon Jan 20 14:07:32 2014 UTC revision 2423 by niro, Thu Sep 3 07:29:19 2015 UTC
# Line 89  echo "Connected to $(print_version)" Line 89  echo "Connected to $(print_version)"
89    
90  while [[ ${run} = run ]]  while [[ ${run} = run ]]
91  do  do
92     # use an echo here not read -p '>' because sslsvd ignores the prompt pattern
93     echo -n '> '
94   read line   read line
95   eval "GLOBAL_ARGV=( ${line} )"   eval "GLOBAL_ARGV=( ${line} )"
96    
# Line 101  do Line 103  do
103   get) run_class ;;   get) run_class ;;
104   set) run_class ;;   set) run_class ;;
105   auth) validate_auth ${GLOBAL_ARGV[*]:1} ;;   auth) validate_auth ${GLOBAL_ARGV[*]:1} ;;
106     certauth) validate_auth_certificate ${GLOBAL_ARGV[*]:1} ;;
107   provide) valid_session && print_provide ;;   provide) valid_session && print_provide ;;
108   require) valid_session && verify_requirements ;;   require) valid_session && verify_requirements ;;
109   reload) valid_session && mecho "reloading client classes ..." && load_classes client ;;   reload) valid_session && mecho "reloading client classes ..." && load_classes client ;;

Legend:
Removed from v.2304  
changed lines
  Added in v.2423