diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-06-18 10:00:08 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-06-18 10:00:08 +0000 |
commit | e497906508084a5501f27a53a8ec0f23aa446e5b (patch) | |
tree | 152d32d807e92b14ac8ade604a4d650b637b1e93 /emulators/vmware3/files/vmware.sh | |
parent | A new index, with 3,403 ports, which is a nice number, being 41 times (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_5_0'.release/3.5.0
Diffstat (limited to 'emulators/vmware3/files/vmware.sh')
-rw-r--r-- | emulators/vmware3/files/vmware.sh | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/emulators/vmware3/files/vmware.sh b/emulators/vmware3/files/vmware.sh deleted file mode 100644 index 1afdbf3e3813..000000000000 --- a/emulators/vmware3/files/vmware.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh -# -# Start or stop vmware -# -# $FreeBSD$ - -vmware_dir=@@PREFIX@@/lib/vmware -networking=@@NETWORKING@@ -host_ip=@@HOST_IP@@ -netmask=@@NETMASK@@ - -[ -x $vmware_dir/bin/vmware ] || exit - -if [ `sysctl -n hw.ncpu` -eq 1 ]; then - suffix=up -else - suffix=smp -fi - -exec >/dev/null - -case $1 in -start) - kldload ${vmware_dir}/lib/modules/vmmon_${suffix}.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_${suffix} - 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 - ;; -esac |