VirtualBox

Changeset 57900 in vbox


Ignore:
Timestamp:
Sep 25, 2015 3:09:53 PM (9 years ago)
Author:
vboxsync
Message:

Installer/linux: don't get confused of vboxdrv/vboxdrvu

File:
1 edited

Legend:

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

    r56752 r57900  
    173173    # ensure the character special exists
    174174    if [ ! -c $DEVICE ]; then
    175         MAJOR=`sed -n 's;\([0-9]\+\) vboxdrv;\1;p' /proc/devices`
     175        MAJOR=`sed -n 's;\([0-9]\+\) vboxdrv$;\1;p' /proc/devices`
    176176        if [ ! -z "$MAJOR" ]; then
    177177            MINOR=0
    178178        else
    179             MINOR=`sed -n 's;\([0-9]\+\) vboxdrv;\1;p' /proc/misc`
     179            MINOR=`sed -n 's;\([0-9]\+\) vboxdrv$;\1;p' /proc/misc`
    180180            if [ ! -z "$MINOR" ]; then
    181181                MAJOR=10
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