- Timestamp:
- Apr 7, 2012 7:31:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/win/loadall.sh
r40815 r40816 23 23 echo MY_DIR=$MY_DIR 24 24 25 set -e 26 cd "$MY_DIR" 27 set +e 28 25 29 26 30 # 27 # Stop all VBoxdrivers.31 # Query the status of the drivers. 28 32 # 29 33 for drv in VBoxNetAdp VBoxNetFlt VBoxUSBMon VBoxUSB VBoxDrv; … … 36 40 -e 's/ *$//g' \ 37 41 ` 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." 48 45 fi 49 46 done … … 65 62 # Invoke the installers. 66 63 # 67 for inst in NetAdpInstall.exe NetFltInstall.exe USBInstall.exe SUPInstall.exe;64 for inst in SUPInstall.exe USBInstall.exe NetFltInstall.exe NetAdpInstall.exe; 68 65 do 69 66 if test -f ${MY_DIR}/$inst; then … … 72 69 done 73 70 71 echo "load.sh: Successfully installed all drivers" 72 exit 0 73
Note:
See TracChangeset
for help on using the changeset viewer.