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 2466 by niro, Tue Sep 8 08:24:07 2015 UTC revision 2479 by niro, Thu Sep 10 08:48:45 2015 UTC
# Line 15  include ${MCORE_LIBDIR}/include/daemon.g Line 15  include ${MCORE_LIBDIR}/include/daemon.g
15  include ${MCORE_LIBDIR}/include/sessionauth.global.class  include ${MCORE_LIBDIR}/include/sessionauth.global.class
16  include ${MCORE_LIBDIR}/include/mysqlfunctions.global.class  include ${MCORE_LIBDIR}/include/mysqlfunctions.global.class
17  include ${MCORE_LIBDIR}/include/register.global.class  include ${MCORE_LIBDIR}/include/register.global.class
18    include ${MCORE_LIBDIR}/include/control.global.class
19  #include ${MCORE_LIBDIR}/include/hwdetection.global.class  #include ${MCORE_LIBDIR}/include/hwdetection.global.class
20    
21  # load control classes plugins  # load control classes plugins
# Line 28  SQL_PASS=@lx Line 29  SQL_PASS=@lx
29  SQL_HOST=localhost  SQL_HOST=localhost
30  SQL_DB=alx_web  SQL_DB=alx_web
31    
32  #IP="192.168.0.6"  # 0=false, 1=true
 PORT="6666"  
 SSLSAY_USER="foo"  
 SSLSAY_PASS="bar"  
   
33  DEBUG=1  DEBUG=1
34  NOCOLORS="false"  NOCOLORS=0
35  WEBCRLF="false"  WEBCRLF=0
36  QUIET="false"  QUIET=0
37    
38  # argvs are global variables - this fixes issues with whitespaces  # argvs are global variables - this fixes issues with whitespaces
39  # global argvs, the whole command line  # global argvs, the whole command line
# Line 73  do Line 70  do
70   reload) valid_session && mecho "reloading client classes ..." && load_classes client ;;   reload) valid_session && mecho "reloading client classes ..." && load_classes client ;;
71   restart) valid_session && restart_service ;;   restart) valid_session && restart_service ;;
72   stop) valid_session && stop_service ;;   stop) valid_session && stop_service ;;
73   nocolors) export NOCOLORS="true" ;;   nocolors) export NOCOLORS=1 ;;
74   colors) export NOCOLORS="false" ;;   colors) export NOCOLORS=0 ;;
75   webcrlf) export WEBCRLF="true" ;;   webcrlf) export WEBCRLF=1 ;;
76   quiet) export QUIET="true" ;;   quiet) export QUIET=1 ;;
77   # version does not need auth   # version does not need auth
78   version) print_version ;;   version) print_version ;;
79   help)   help)

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