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 |
# { |
# { |
64 |
get*) run_class ${line} ;; |
get*) run_class ${line} ;; |
65 |
set*) run_class ${line} ;; |
set*) run_class ${line} ;; |
66 |
auth*) validate_auth ${line/auth /} ;; |
auth*) validate_auth ${line/auth /} ;; |
67 |
provide) print_provide ;; |
provide) valid_session && print_provide ;; |
68 |
|
require) valid_session && verify_requirements ;; |
69 |
|
nocolors) export NOCOLORS="true" ;; |
70 |
|
webcrlf) export WEBCRLF="true" ;; |
71 |
help*) |
help*) |
72 |
if validate_session |
if valid_session |
73 |
then |
then |
74 |
if [[ ${line} = help ]] |
if [[ ${line} = help ]] |
75 |
then |
then |
90 |
;; |
;; |
91 |
esac |
esac |
92 |
done |
done |
93 |
|
|