1 |
#!/bin/bash |
#!/bin/bash |
2 |
|
|
3 |
MCLIBDIR="/usr/lib/mcored" |
MCLIBDIR="@@MCLIBDIR@@" |
4 |
|
|
5 |
# respect system env (proxy settings etc) |
# respect system env (proxy settings etc) |
6 |
if [ -e /etc/profile ] |
if [ -e @@ETCDIR@@/profile ] |
7 |
then |
then |
8 |
source /etc/profile |
source @@ETCDIR@@/profile |
9 |
fi |
fi |
10 |
|
|
11 |
# globals |
# globals |
18 |
load_client_classes |
load_client_classes |
19 |
|
|
20 |
# config settings |
# config settings |
21 |
source /etc/mcore/config.rc |
source @@ETCDIR@@/mcore/config.rc |
22 |
#source /etc/mcore/serial |
#source @@ETCDIR@@/mcore/serial |
23 |
|
|
24 |
# import_hardware_resource() |
# import_hardware_resource() |
25 |
# { |
# { |