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 |
# { |
# { |
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 |
71 |
require) valid_session && verify_requirements ;; |
require) valid_session && verify_requirements ;; |
72 |
nocolors) export NOCOLORS="true" ;; |
nocolors) export NOCOLORS="true" ;; |
73 |
webcrlf) export WEBCRLF="true" ;; |
webcrlf) export WEBCRLF="true" ;; |
74 |
|
quiet) export QUIET="true" ;; |
75 |
help*) |
help*) |
76 |
if valid_session |
if valid_session |
77 |
then |
then |
90 |
*) |
*) |
91 |
mecho "Unkown command '${line}'" |
mecho "Unkown command '${line}'" |
92 |
mecho "Type 'help' for more information." |
mecho "Type 'help' for more information." |
93 |
echo "$line" >> /root/lala.log |
#echo "$line" >> /root/lala.log |
94 |
;; |
;; |
95 |
esac |
esac |
96 |
done |
done |
|
|
|