Magellan Linux

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

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

revision 2478 by niro, Thu Sep 10 08:32:31 2015 UTC revision 2479 by niro, Thu Sep 10 08:48:45 2015 UTC
# Line 22  load_classes client Line 22  load_classes client
22  # config settings  # config settings
23  include @@SYSCONFDIR@@/mcore/mcore.conf  include @@SYSCONFDIR@@/mcore/mcore.conf
24    
25    # 0=false, 1=true
26  DEBUG=1  DEBUG=1
27  NOCOLORS="false"  NOCOLORS=0
28  WEBCRLF="false"  WEBCRLF=0
29  QUIET="false"  QUIET=0
30    
31  # argvs are global variables - this fixes issues with whitespaces  # argvs are global variables - this fixes issues with whitespaces
32  # global argvs, the whole command line  # global argvs, the whole command line
# Line 61  do Line 62  do
62   reload) valid_session && mecho "reloading client classes ..." && load_classes client ;;   reload) valid_session && mecho "reloading client classes ..." && load_classes client ;;
63   restart) valid_session && restart_service ;;   restart) valid_session && restart_service ;;
64   stop) valid_session && stop_service ;;   stop) valid_session && stop_service ;;
65   nocolors) export NOCOLORS="true" ;;   nocolors) export NOCOLORS=1 ;;
66   colors) export NOCOLORS="false" ;;   colors) export NOCOLORS=0 ;;
67   webcrlf) export WEBCRLF="true" ;;   webcrlf) export WEBCRLF=1 ;;
68   quiet) export QUIET="true" ;;   quiet) export QUIET=1 ;;
69   # version does not need auth   # version does not need auth
70   version) print_version ;;   version) print_version ;;
71   help)   help)

Legend:
Removed from v.2478  
changed lines
  Added in v.2479