freebsd-ports/emulators/vmware2/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 "$@"