Magellan Linux

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

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

revision 2005 by niro, Mon Aug 13 09:38:21 2012 UTC revision 2052 by niro, Wed May 8 11:20:11 2013 UTC
# Line 52  QUIET="false" Line 52  QUIET="false"
52  run=run  run=run
53  valid_session=no  valid_session=no
54    
55    # tell what we are
56    echo "Connected to $(print_version)"
57    
58  while [[ ${run} = run ]]  while [[ ${run} = run ]]
59  do  do
60   read line   read line
# Line 70  do Line 73  do
73   restart) valid_session && restart_service ;;   restart) valid_session && restart_service ;;
74   stop) valid_session && stop_service ;;   stop) valid_session && stop_service ;;
75   nocolors) export NOCOLORS="true" ;;   nocolors) export NOCOLORS="true" ;;
76     colors) export NOCOLORS="false" ;;
77   webcrlf) export WEBCRLF="true" ;;   webcrlf) export WEBCRLF="true" ;;
78   quiet) export QUIET="true" ;;   quiet) export QUIET="true" ;;
79     # version does not need auth
80     version) print_version ;;
81   help*)   help*)
82   if valid_session   if valid_session
83   then   then

Legend:
Removed from v.2005  
changed lines
  Added in v.2052