summaryrefslogtreecommitdiffstats
path: root/emulators/vmware3/files/vmware.sh
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/vmware3/files/vmware.sh')
-rw-r--r--emulators/vmware3/files/vmware.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/vmware3/files/vmware.sh b/emulators/vmware3/files/vmware.sh
index 34689d1..161c489 100644
--- a/emulators/vmware3/files/vmware.sh
+++ b/emulators/vmware3/files/vmware.sh
@@ -28,7 +28,7 @@ bridged=@@BRIDGED@@
bridge_interface=@@BRIDGE_INTF@@
host_ip=`vmware_config vmnet1.HostOnlyAddress`
netmask=`vmware_config vmnet1.HostOnlyNetMask`
-dev_vmnet1=@@LINUXBASE@@/dev/vmnet1
+dev_vmnet1=/dev/vmnet1
if [ ! -x $vmware ]; then
echo "$vmware does not exist!" >&2
@@ -84,6 +84,7 @@ stop)
ngctl msg ${bridge_interface}: setautosrc 1
ngctl msg ${bridge_interface}: setpromisc 0
fi
+ kldunload vmnet.ko
fi
;;
OpenPOWER on IntegriCloud