summaryrefslogtreecommitdiff
path: root/emulators/vmware3/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-03-25 20:24:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-03-25 20:24:32 +0000
commit9225c521c3e097ac831e541c438eceb958bb610f (patch)
tree061ddf8e675cbc875e32c1f4eb7b7bae904f292b /emulators/vmware3/files
parentFix incomplete PLIST. (diff)
- Clean up and minor fixes
- Make portlint satisfy - Avoid creating files out of WRKDIR - Remove the void directory "patch" (What ever was this?) - Adjust whitespace - Fix some ungrammatical wordings - Modify COMMENT and DESCR - Drop fakeprocfs support due to the import of Linux procfs to the base system - Show MESSAGE after installation - Change maintainer to the -emulation list because: - Vladimir seems too busy or unreachable these days - This port depends very much on Linux compatibility stuff - Get it to check if the system has Linux procfs module and stop if not PR: ports/16960 (add WWW to DESCR) No response by: maintainer
Notes
Notes: svn path=/head/; revision=27045
Diffstat (limited to 'emulators/vmware3/files')
-rw-r--r--emulators/vmware3/files/Makefile2
-rw-r--r--emulators/vmware3/files/vmware.sh43
2 files changed, 22 insertions, 23 deletions
diff --git a/emulators/vmware3/files/Makefile b/emulators/vmware3/files/Makefile
index 32991c325976..79759423aeb8 100644
--- a/emulators/vmware3/files/Makefile
+++ b/emulators/vmware3/files/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-SUBDIR= vmmon-only vmnet-only/freebsd
+SUBDIR= vmmon-only vmnet-only/freebsd
.include <bsd.subdir.mk>
diff --git a/emulators/vmware3/files/vmware.sh b/emulators/vmware3/files/vmware.sh
index 6b426b64d654..6764ced056e2 100644
--- a/emulators/vmware3/files/vmware.sh
+++ b/emulators/vmware3/files/vmware.sh
@@ -3,7 +3,6 @@
# Start or stop vmware
#
# $FreeBSD$
-#
vmware_dir=@@PREFIX@@/lib/vmware
networking=@@NETWORKING@@
@@ -14,27 +13,27 @@ netmask=@@NETMASK@@
exec >/dev/null
case $1 in
- start)
- kldload ${vmware_dir}/lib/modules/vmmon.ko
- if [ $networking -eq 1 ]; then
- kldload ${vmware_dir}/lib/modules/vmnet.ko
- echo -n >/dev/vmnet1
- ifconfig vmnet1 $host_ip netmask $netmask
- fi
- echo -n " VMware" >/dev/tty
- ;;
+start)
+ kldload ${vmware_dir}/lib/modules/vmmon.ko
+ if [ $networking -eq 1 ]; then
+ kldload ${vmware_dir}/lib/modules/vmnet.ko
+ echo -n >/dev/vmnet1
+ ifconfig vmnet1 $host_ip netmask $netmask
+ fi
+ echo -n " VMware" >/dev/tty
+ ;;
- stop)
- kldunload vmmon
- if [ $networking -eq 1 ]; then
- ifconfig vmnet1 down
- ifconfig vmnet1 delete $host_ip
- kldunload vmnet
- fi
- ;;
+stop)
+ kldunload vmmon
+ if [ $networking -eq 1 ]; then
+ ifconfig vmnet1 down
+ ifconfig vmnet1 delete $host_ip
+ kldunload vmnet
+ fi
+ ;;
- *)
- echo "usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
+*)
+ echo "usage: `basename $0` {start|stop}" >&2
+ exit 64
+ ;;
esac