1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/emulators/vmware3/files/vmware
Akinori MUSHA aef81ecac3 Show an error message and exit when vmware is invoked without Linux procfs
mounted on /compat/linux/proc.

I hope that would reduce FAQ.
2000-04-25 14:23:37 +00:00

21 lines
498 B
Bash

#!/bin/sh
#
# Run vmware
#
# $FreeBSD$
if [ ! -e @@LINUX_DIR@@/proc/cpuinfo ]; then
echo "************************************************************"
echo "It seems Linux procfs is not mounted on @@LINUX_DIR@@/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
@@PREFIX@@/lib/vmware/bin/vmware "$@"