VirtualBox

Changeset 40816 in vbox for trunk


Ignore:
Timestamp:
Apr 7, 2012 7:31:12 PM (13 years ago)
Author:
vboxsync
Message:

bug fixes, putting problematic stuff at the end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/win/loadall.sh

    r40815 r40816  
    2323echo MY_DIR=$MY_DIR
    2424
     25set -e
     26cd "$MY_DIR"
     27set +e
     28
    2529
    2630#
    27 # Stop all VBox drivers.
     31# Query the status of the drivers.
    2832#
    2933for drv in VBoxNetAdp VBoxNetFlt VBoxUSBMon VBoxUSB VBoxDrv;
     
    3640                         -e 's/ *$//g' \
    3741              `
    38         echo "dbg: drv=$drv state=$STATE"
    39         case "$STATE" in
    40             "STOPPED")
    41                 # Do nothing.
    42                 ;;
    43             *)
    44                 echo "Stopping $drv..."
    45                 sc stop $drv
    46                 ;;
    47         esac
     42        echo "load.sh: $drv - $STATE"
     43    else
     44        echo "load.sh: $drv - not configured, probably."
    4845    fi
    4946done
     
    6562# Invoke the installers.
    6663#
    67 for inst in NetAdpInstall.exe NetFltInstall.exe USBInstall.exe SUPInstall.exe;
     64for inst in SUPInstall.exe USBInstall.exe NetFltInstall.exe NetAdpInstall.exe;
    6865do
    6966    if test -f ${MY_DIR}/$inst; then
     
    7269done
    7370
     71echo "load.sh: Successfully installed all drivers"
     72exit 0
     73
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette