880,891d879 < vmware_exec 'Virtual machine monitor' vmware_start_vmmon < exitcode=$(($exitcode + $?)) < < if [ "`isPpuserNeeded`" = '1' ]; then < vmware_exec 'Virtual bidirectional parallel port' vmware_start_vmppuser < exitcode=$(($exitcode + $?)) < else < # Try to load parport_pc. Failure is allowed as it does not exist < # on kernels 2.0 < /sbin/modprobe parport_pc >/dev/null 2>&1 < fi < 893,894d880 < vmware_exec 'Virtual ethernet' vmware_start_vmnet < exitcode=$(($exitcode + $?)) 902,905c888 < vmware_create_vmnet "$vHubNr" < vmware_exec 'Bridged networking on /dev/vmnet'"$vHubNr" \ < vmware_start_bridge "$vHubNr" "$interface" < exitcode=$(($exitcode + $?)) --- > none=none 907d889 < vmware_create_vmnet "$vHubNr" 978,989d959 < vmware_exec 'Virtual machine monitor' vmware_stop_vmmon < exitcode=$(($exitcode + $?)) < < if [ "`isPpuserNeeded`" = '1' ]; then < vmware_exec 'Virtual bidirectional parallel port' vmware_stop_vmppuser < exitcode=$(($exitcode + $?)) < else < # Try to unload parport_pc. Failure is allowed as it does not exist < # on kernels 2.0, and some other process could be using it. < /sbin/modprobe -r parport_pc >/dev/null 2>&1 < fi < 999,1001c969 < vmware_exec "Bridged networking on /dev/vmnet$vHubNr" \ < vmware_stop_bridge "$vHubNr" < exitcode=$(($exitcode + $?)) --- > none=none 1017,1026d984 < < eval 'nat="$vmdb_answer_VNET_'"$vHubNr"'_NAT"' < if [ "$nat" = "yes" ]; then < vmware_exec 'NAT service on /dev/vmnet'"$vHubNr" \ < vmware_stop_nat "$vHubNr" < exitcode=$(($exitcode + $?)) < fi < < vmware_exec 'Host-only networking on /dev/vmnet'"$vHubNr" \ < vmware_stop_hostonly 'vmnet'"$vHubNr" "$hostaddr" "$netmask" 1030,1032d987 < < vmware_exec 'Virtual ethernet' vmware_stop_vmnet < exitcode=$(($exitcode + $?))