9 |
fi |
fi |
10 |
|
|
11 |
# globals |
# globals |
12 |
|
# include function comes with common.global class |
13 |
source ${MCORE_LIBDIR}/include/common.global.class |
source ${MCORE_LIBDIR}/include/common.global.class |
14 |
source ${MCORE_LIBDIR}/include/daemon.global.class |
include ${MCORE_LIBDIR}/include/daemon.global.class |
15 |
source ${MCORE_LIBDIR}/include/sessionauth.global.class |
include ${MCORE_LIBDIR}/include/sessionauth.global.class |
16 |
#source ${MCORE_LIBDIR}/include/mysqlfunctions.global.class |
#include ${MCORE_LIBDIR}/include/mysqlfunctions.global.class |
17 |
source ${MCORE_LIBDIR}/include/hwdetection.global.class |
include ${MCORE_LIBDIR}/include/hwdetection.global.class |
18 |
|
|
19 |
# load client classes plugins |
# load client classes plugins |
20 |
load_client_classes |
load_client_classes |
21 |
|
|
22 |
# config settings |
# config settings |
23 |
source @@SYSCONFDIR@@/mcore/config.rc |
include @@SYSCONFDIR@@/mcore/mcore.conf |
24 |
#source @@SYSCONFDIR@@/mcore/serial |
#source @@SYSCONFDIR@@/mcore/serial |
25 |
|
|
26 |
# import_hardware_resource() |
# import_hardware_resource() |
102 |
;; |
;; |
103 |
|
|
104 |
*) |
*) |
105 |
mecho "Unkown command '${line}'" |
mecho "Unknown command '${line}'" |
106 |
mecho "Type 'help' for more information." |
mecho "Type 'help' for more information." |
107 |
#echo "$line" >> /root/lala.log |
#echo "$line" >> /root/lala.log |
108 |
;; |
;; |