Changeset 54137 in vbox for trunk/src/VBox/HostDrivers/win/loadall.sh
- Timestamp:
- Feb 11, 2015 11:56:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/win/loadall.sh
r53317 r54137 35 35 # Query the status of the drivers. 36 36 # 37 for drv in VBoxNetAdp VBoxNet FltVBoxUSBMon VBoxUSB VBoxDrv;37 for drv in VBoxNetAdp VBoxNetAdp6 VBoxNetFlt VBoxNetLwf VBoxUSBMon VBoxUSB VBoxDrv; 38 38 do 39 39 if sc query $drv > /dev/null; then … … 44 44 -e 's/ *$//g' \ 45 45 ` 46 echo "load .sh: $drv - $STATE"46 echo "loadall.sh: $drv - $STATE" 47 47 else 48 echo "load .sh: $drv - not configured, probably."48 echo "loadall.sh: $drv - not configured, probably." 49 49 fi 50 50 done … … 56 56 # Invoke the uninstallers. 57 57 # 58 for uninst in NetAdpUninstall.exe Net FltUninstall.exe USBUninstall.exe SUPUninstall.exe;58 for uninst in NetAdpUninstall.exe NetAdp6Uninstall.exe USBUninstall.exe NetFltUninstall.exe NetLwfUninstall.exe SUPUninstall.exe; 59 59 do 60 60 if test -f ${MY_DIR}/$uninst; then … … 67 67 # 68 68 if 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; 70 82 do 71 83 if test -f ${MY_DIR}/$inst; then … … 75 87 fi 76 88 77 echo "load .sh: Successfully installed all drivers"89 echo "loadall.sh: Successfully installed all drivers" 78 90 exit 0 79 91
Note:
See TracChangeset
for help on using the changeset viewer.