VirtualBox

Changeset 3880 in vbox


Ignore:
Timestamp:
Jul 26, 2007 2:47:13 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23248
Message:

Fixed a minor problem in the Linux vboxnet init script which didnt start if no interfaces were defined

File:
1 edited

Legend:

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

    r3845 r3880  
    144144start_network() {
    145145    begin "Starting VirtualBox host networking"
    146     # If there is no configuration file or if the service is already running,
    147     # assume that we have successfully started.
    148     if [ -f "$VARFILE" -o ! -f "$CONFIG" ]
     146    # If the service is already running, return successfully.
     147    if [ -f "$VARFILE" ]
    149148    then
    150149      succ_msg
     
    164163      fail_msg
    165164      return 1
     165    fi
     166    # If there is no configuration file, report success
     167    if [ ! -f "$CONFIG" ]
     168    then
     169      succ_msg
     170      return 0
    166171    fi
    167172    # Fail if we can't read our configuration
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette