VirtualBox

Changeset 5439 in vbox for trunk/src


Ignore:
Timestamp:
Oct 23, 2007 9:48:57 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25595
Message:

Installer: fixed the vboxnet Linux init script to work on Ubuntu 7.10

File:
1 edited

Legend:

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

    r4089 r5439  
    173173    # Fail if we don't have tunctl
    174174    if ! VBoxTunctl -h 2>&1 | grep VBoxTunctl > /dev/null
     175    then
     176      fail_msg
     177      return 1
     178    fi
     179    # Fail if we don't have the kernel tun device
     180    # Make sure that the tun module is loaded (Ubuntu 7.10 needs this)
     181    modprobe tun 2>&1 > /dev/null
     182    if ! cat /proc/misc 2>/dev/null | grep tun > /dev/null
    175183    then
    176184      fail_msg
     
    237245    # Set /dev/net/tun to belong to the group vboxusers if it exists and does
    238246    # yet belong to a group.
    239     if ls -g "$TAPDEV" 2>/dev/null | grep root
     247    if ls -g "$TAPDEV" 2>/dev/null | grep root 2>&1 > /dev/null
    240248    then
    241249      chgrp vboxusers "$TAPDEV"
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