Blob Blame History Raw
#!/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