VirtualBox

Changeset 8140 in vbox


Ignore:
Timestamp:
Apr 18, 2008 1:01:13 PM (17 years ago)
Author:
vboxsync
Message:

Solaris hostif: change vnic script to use names from vna.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/solaris/vnicinit_solaris.sh

    r7102 r8140  
    3838
    3939    # To use a specific physical NIC, replace $phys_nic with the name of the NIC.
    40     vnic_id=`/usr/lib/vna $phys_nic $mac`
     40    vnic_name=`/usr/lib/vna $phys_nic $mac`
    4141    if [ $? != 0 ]; then
    4242        exit 1
    4343    fi
    44     vnic_name=vnic${vnic_id}
    4544else
    4645    vnic_name=$2
    47     vnic_id=${vnic_name##*[a-z]}
    4846fi
     47vnic_id=${vnic_name##*[a-z]}
    4948
    5049if [ ${vnic_id} -lt 10 ]; then
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