VirtualBox

Changeset 7901 in vbox


Ignore:
Timestamp:
Apr 11, 2008 8:20:52 AM (17 years ago)
Author:
vboxsync
Message:

Delete tap interface before creating it. Works around problems when the interface already exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxnet.sh.in

    r7146 r7901  
    180180        if ((! expr match "$2" "#" > /dev/null) &&
    181181            (test -z "$4" || expr match "$4" "#" > /dev/null)); then
     182          # As the very first thing, try delete the interface. Might already
     183          # exist with different configuration. Ignore errors.
     184          VBoxTunctl -d $1 > /dev/null 2>&1
    182185          case $user in
    183186            +*)
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