VirtualBox

Changeset 5594 in vbox


Ignore:
Timestamp:
Oct 31, 2007 10:20:56 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25883
Message:

correctly suppress the error messages of modprobe

Location:
trunk/src/VBox/Installer/linux
Files:
2 edited

Legend:

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

    r5498 r5594  
    136136        }
    137137
    138         modprobe $modname || {
     138        modprobe $modname > /dev/null 2>&1 || {
    139139            fail "modprobe $modname failed"
    140140        }
  • trunk/src/VBox/Installer/linux/vboxnet.sh

    r5439 r5594  
    179179    # Fail if we don't have the kernel tun device
    180180    # Make sure that the tun module is loaded (Ubuntu 7.10 needs this)
    181     modprobe tun 2>&1 > /dev/null
     181    modprobe tun > /dev/null 2>&1
    182182    if ! cat /proc/misc 2>/dev/null | grep tun > /dev/null
    183183    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