2000-04-17 06:23:24 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Run vmware
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-09-22 19:22:24 +02:00
|
|
|
if [ ! -e @@LINUXBASE@@/proc/cpuinfo ]; then
|
2000-04-25 16:23:37 +02:00
|
|
|
echo "************************************************************"
|
2000-09-22 19:22:24 +02:00
|
|
|
echo "It seems Linux procfs is not mounted on @@LINUXBASE@@/proc."
|
2000-04-25 16:23:37 +02:00
|
|
|
echo "VMware does not work without Linux procfs mounted."
|
|
|
|
echo
|
|
|
|
echo "For details, see linprocfs(5) manpage."
|
|
|
|
echo "************************************************************"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2000-04-17 06:23:24 +02:00
|
|
|
LANG=C
|
|
|
|
PATH=/bin:$PATH
|
|
|
|
|
2000-07-31 23:56:38 +02:00
|
|
|
if [ _$TMPDIR = _ ]; then
|
|
|
|
TMPDIR=/var/tmp
|
|
|
|
echo Setting TMPDIR="$TMPDIR".
|
|
|
|
export TMPDIR
|
|
|
|
fi
|
|
|
|
|
|
|
|
exec @@PREFIX@@/lib/vmware/bin/vmware "$@"
|