freebsd-ports/emulators/vmware3/files/vmware
Akinori MUSHA 8b3cd773ff Use LINUXBASE/USE_LINUX variables.
This is only a cosmetic change, so there's no need to reinstall your
installation(s).
2000-09-22 17:22:24 +00:00

27 lines
607 B
Bash

#!/bin/sh
#
# Run vmware
#
# $FreeBSD$
if [ ! -e @@LINUXBASE@@/proc/cpuinfo ]; then
echo "************************************************************"
echo "It seems Linux procfs is not mounted on @@LINUXBASE@@/proc."
echo "VMware does not work without Linux procfs mounted."
echo
echo "For details, see linprocfs(5) manpage."
echo "************************************************************"
exit 1
fi
LANG=C
PATH=/bin:$PATH
if [ _$TMPDIR = _ ]; then
TMPDIR=/var/tmp
echo Setting TMPDIR="$TMPDIR".
export TMPDIR
fi
exec @@PREFIX@@/lib/vmware/bin/vmware "$@"