-
Notifications
You must be signed in to change notification settings - Fork 10
/
rt-env.sh.in
26 lines (23 loc) · 1.14 KB
/
rt-env.sh.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh -x
#
#OPENHPI_LOCK_DEBUG=YES
OPENHPI_ERROR=YES
#OPENHPI_DEBUG=YES
OPENHPI_UID_MAP=@abs_top_srcdir@/uid_map
OPENHPI_CONF=@abs_top_srcdir@/openhpi.conf
OPENHPICLIENT_CONF=@abs_top_srcdir@/openhpiclient.conf
OPENHPI_PLUGIN_ROOT=@abs_top_builddir@/plugins
OPENHPI_PATH=${OPENHPI_PLUGIN_ROOT}/dummy:${OPENHPI_PLUGIN_ROOT}/ipmi:${OPENHPI_PLUGIN_ROOT}/ipmidirect:${OPENHPI_PLUGIN_ROOT}/watchdog:${OPENHPI_PLUGIN_ROOT}/sysfs:${OPENHPI_PLUGIN_ROOT}/snmp_bc:${OPENHPI_PLUGIN_ROOT}/simulator:${OPENHPI_PLUGIN_ROOT}/dynamic_simulator:${LTDL_LIBRARY_PATH}
# the following entries are for the hpi daemon and client
OPENHPI_DAEMON_HOST=localhost
OPENHPI_DAEMON_PORT=4743
OPENHPI_GCRYPT=0
if [ ! -f @abs_top_srcdir@/openhpi.conf ]; then
cp @abs_top_srcdir@/openhpi.conf.example @abs_top_srcdir@/openhpi.conf
chmod 600 @abs_top_srcdir@/openhpi.conf
fi
if [ ! -f @abs_top_srcdir@/openhpiclient.conf ]; then
cp @abs_top_srcdir@/openhpiclient.conf.example @abs_top_srcdir@/openhpiclient.conf
fi
export OPENHPI_DEBUG OPENHPI_DEBUG_TRACE OPENHPI_UID_MAP OPENHPI_CONF OPENHPI_PATH OPENHPICLIENT_CONF
export OPENHPI_DAEMON_HOST OPENHPI_DAEMON_PORT OPENHPI_GCRYPT