VirtualBox

Changeset 7031 in vbox


Ignore:
Timestamp:
Feb 20, 2008 12:21:01 PM (17 years ago)
Author:
vboxsync
Message:

removed the superflous ifname_valid check

File:
1 edited

Legend:

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

    r6868 r7031  
    123123running() {
    124124    test -f "$VARFILE"
    125 }
    126 
    127 valid_ifname() {
    128     if expr match "$1" "vbox[0-9][0-9]*$" > /dev/null 2>&1
    129     then
    130       return 0
    131     else
    132       return 1
    133     fi
    134125}
    135126
     
    198189        # or two non-comment entries, possibly followed by a comment).
    199190        if ((! expr match "$2" "#" > /dev/null) &&
    200             (test -z "$4" || expr match "$4" "#" > /dev/null) &&
    201             (valid_ifname "$1"))
     191            (test -z "$4" || expr match "$4" "#" > /dev/null))
    202192        then
    203193          case $user in
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