]> git.pld-linux.org Git - packages/VMware-workstation.git/blobdiff - VMware-workstation.init
- _urel 84, %%build updated.
[packages/VMware-workstation.git] / VMware-workstation.init
index 83e9df89528ed4b3d93cc2bbd032abc2e56392f9..7d2e7f1d33343f8ade9bd6729324be7cdb64b0e2 100755 (executable)
@@ -311,7 +311,7 @@ case "$1" in
                                eval 'samba="$VNET_'"$vHubNr"'_SAMBA"'
                                msg_starting 'Host-only networking on /dev/vmnet'"$vHubNr"
                                busy
-                               daemon vmware_start_hostonly "$vHubNr" 'vmnet'"$vHubNr" "$hostaddr" \
+                               vmware_start_hostonly "$vHubNr" 'vmnet'"$vHubNr" "$hostaddr" \
                                  "$netmask" 'yes' "$samba"
                                [ "$?" -eq 0 ] && ok || fail
                                eval 'nat="$VNET_'"$vHubNr"'_NAT"'
@@ -393,6 +393,12 @@ case "$1" in
                        fi
                        vHubNr=$(($vHubNr + 1))
                done
+               msg_stopping 'Virtual machine monitor'
+               busy
+               if /sbin/lsmod | grep -q ^"$driver"; then
+                       /sbin/rmmod "$driver"
+               fi
+               [ "$?" -eq "0" ] && ok || fail
                msg_stopping 'Virtual ethernet'
                busy
                if /sbin/lsmod | grep -q ^"$vnet"; then
This page took 0.041315 seconds and 4 git commands to generate.