VirtualBox

Ignore:
Timestamp:
Feb 11, 2015 11:56:47 AM (10 years ago)
Author:
vboxsync
Message:

Seems aleksey forgot to update these scripts...

File:
1 edited

Legend:

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

    r53317 r54137  
    3535# Query the status of the drivers.
    3636#
    37 for drv in VBoxNetAdp VBoxNetFlt VBoxUSBMon VBoxUSB VBoxDrv;
     37for drv in VBoxNetAdp VBoxNetAdp6 VBoxNetFlt VBoxNetLwf VBoxUSBMon VBoxUSB VBoxDrv;
    3838do
    3939    if sc query $drv > /dev/null; then
     
    4444                         -e 's/ *$//g' \
    4545              `
    46         echo "load.sh: $drv - $STATE"
     46        echo "loadall.sh: $drv - $STATE"
    4747    else
    48         echo "load.sh: $drv - not configured, probably."
     48        echo "loadall.sh: $drv - not configured, probably."
    4949    fi
    5050done
     
    5656# Invoke the uninstallers.
    5757#
    58 for uninst in NetAdpUninstall.exe NetFltUninstall.exe USBUninstall.exe SUPUninstall.exe;
     58for uninst in NetAdpUninstall.exe NetAdp6Uninstall.exe USBUninstall.exe NetFltUninstall.exe NetLwfUninstall.exe SUPUninstall.exe;
    5959do
    6060    if test -f ${MY_DIR}/$uninst; then
     
    6767#
    6868if test "$1" != "-u" -a "$1" != "--uninstall"; then
    69     for inst in SUPInstall.exe USBInstall.exe NetFltInstall.exe ; #NetAdpInstall.exe; - busted
     69    INSTALLERS="SUPInstall.exe USBInstall.exe";
     70    VER=`cmd.exe /c ver`
     71    VER=`echo "$VER" | kmk_sed -e 's/^.*\[[^0-9]* \(.*\)\]/\1/' -e '/^$/d`
     72    case "$VER" in
     73        6.*|10.*|11.*|12.*)
     74            INSTALLERS="$INSTALLERS NetLwfInstall.exe"; #NetAdp6Install.exe - also busted?
     75            ;;
     76        *)
     77            INSTALLERS="$INSTALLERS NetFltInstall.exe"; #NetAdpInstall.exe; - busted
     78            ;;
     79    esac
     80
     81    for inst in $INSTALLERS;
    7082    do
    7183        if test -f ${MY_DIR}/$inst; then
     
    7587fi
    7688
    77 echo "load.sh: Successfully installed all drivers"
     89echo "loadall.sh: Successfully installed all drivers"
    7890exit 0
    7991
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