3 |
MCORE_LIBDIR="@@MCORE_LIBDIR@@" |
MCORE_LIBDIR="@@MCORE_LIBDIR@@" |
4 |
source @@SYSCONFDIR@@/mcore/mcore.conf |
source @@SYSCONFDIR@@/mcore/mcore.conf |
5 |
source @@SYSCONFDIR@@/mcore/citrix.conf |
source @@SYSCONFDIR@@/mcore/citrix.conf |
6 |
|
source @@SYSCONFDIR@@/mcore/citrix-enumerate.conf |
7 |
source @@SYSCONFDIR@@/mcore/control.conf |
source @@SYSCONFDIR@@/mcore/control.conf |
8 |
source ${MCORE_LIBDIR}/include/common.global.class |
source ${MCORE_LIBDIR}/include/common.global.class |
9 |
source ${MCORE_LIBDIR}/include/daemon.global.class |
source ${MCORE_LIBDIR}/include/daemon.global.class |
32 |
return 0 |
return 0 |
33 |
} |
} |
34 |
|
|
35 |
# get default store |
# get default settings from configs |
36 |
if [[ -z ${STOREFRONT_STORE} ]] |
[[ -z ${STOREFRONT_STORE} ]] && export STOREFRONT_STORE="${DEFAULT_STOREFRONT_STORE}" |
37 |
then |
[[ -z ${STOREFRONT_USER} ]] && export STOREFRONT_USER="${MCORE_STOREFRONT_USER}" |
38 |
export STOREFRONT_STORE="${DEFAULT_STOREFRONT_STORE}" |
[[ -z ${STOREFRONT_PASS} ]] && export STOREFRONT_PASS="${MCORE_STOREFRONT_PASS}" |
39 |
fi |
[[ -z ${STOREFRONT_DOMAIN} ]] && export STOREFRONT_DOMAIN="${MCORE_STOREFRONT_DOMAIN}" |
40 |
|
|
41 |
if ! storebrowse &> /dev/null |
if ! storebrowse &> /dev/null |
42 |
then |
then |