VirtualBox

Ignore:
Timestamp:
Nov 3, 2014 1:02:45 PM (10 years ago)
Author:
vboxsync
Message:

load.sh,loadall.sh: Added -u option.

File:
1 edited

Legend:

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

    r48952 r53184  
    11#!/bin/bash
    22## @file
    3 # For development, builds and loads all the host drivers.
     3# For development, loads all the host drivers.
    44#
    55
    66#
    7 # Copyright (C) 2010-2012 Oracle Corporation
     7# Copyright (C) 2010-2014 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    1515# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1616#
     17
     18if test -n "$Path" -a test -z "$PATH"; then
     19    export PATH="$Path"
     20fi
    1721
    1822MY_DIR=`cd "${0}/.." && cmd /c cd | kmk_sed -e 's,\\\\,/,g' `
     
    6266# Invoke the installers.
    6367#
    64 for inst in SUPInstall.exe USBInstall.exe NetFltInstall.exe ; #NetAdpInstall.exe; - busted
    65 do
    66     if test -f ${MY_DIR}/$inst; then
    67         ${MY_DIR}/$inst
    68     fi
    69 done
     68if "$1" != "-u" -a "$1" != "--uninstall"; then
     69    for inst in SUPInstall.exe USBInstall.exe NetFltInstall.exe ; #NetAdpInstall.exe; - busted
     70    do
     71        if test -f ${MY_DIR}/$inst; then
     72            ${MY_DIR}/$inst
     73        fi
     74    done
     75fi
    7076
    7177echo "load.sh: Successfully installed all drivers"
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