#!/bin/sh
##
##  vmware-console -- VMWare GSX Server Remote Console binary wrapper
##

#   force path to VMWare config file
VMWARE_CONSOLE_CONFIG="@l_prefix@/etc/vmware-console/config"
export VMWARE_CONSOLE_CONFIG

#   force DSO to be pre-loaded
LD_PRELOAD="@l_prefix@/lib/vmware-console/bin/vmware-console.so"
export LD_PRELOAD

#   execute original executable
exec @l_prefix@/lib/vmware-console/bin/vmware-console ${1+"$@"}

