Magellan Linux

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

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

revision 1251 by niro, Wed Feb 2 21:17:12 2011 UTC revision 1638 by niro, Thu Mar 10 18:05:16 2011 UTC
# Line 16  done Line 16  done
16    
17  # config settings  # config settings
18  source /etc/mcore/config.rc  source /etc/mcore/config.rc
19  source /etc/mcore/serial  #source /etc/mcore/serial
20    
21  # import_hardware_resource()  # import_hardware_resource()
22  # {  # {
# Line 48  source /etc/mcore/serial Line 48  source /etc/mcore/serial
48  # }  # }
49    
50  DEBUG=1  DEBUG=1
51    NOCOLORS="false"
52    WEBCRLF="false"
53    QUIET="false"
54    
55  run=run  run=run
56  valid_session=no  valid_session=no
# Line 64  do Line 67  do
67   get*) run_class ${line} ;;   get*) run_class ${line} ;;
68   set*) run_class ${line} ;;   set*) run_class ${line} ;;
69   auth*) validate_auth ${line/auth /} ;;   auth*) validate_auth ${line/auth /} ;;
70   provide) print_provide ;;   provide) valid_session && print_provide ;;
71     require) valid_session && verify_requirements ;;
72     nocolors) export NOCOLORS="true" ;;
73     webcrlf) export WEBCRLF="true" ;;
74     quiet) export QUIET="true" ;;
75   help*)   help*)
76   if validate_session   if valid_session
77   then   then
78   if [[ ${line} = help ]]   if [[ ${line} = help ]]
79   then   then
# Line 87  do Line 94  do
94   ;;   ;;
95   esac   esac
96  done  done
97    

Legend:
Removed from v.1251  
changed lines
  Added in v.1638