VirtualBox

Changeset 9554 in vbox


Ignore:
Timestamp:
Jun 9, 2008 5:21:25 PM (17 years ago)
Author:
vboxsync
Message:

Seems if ! grep does not quite work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/mod.sh

    r9153 r9554  
    5050    echo "* If it fails below, run: $SUDO add_drv -m'* 0666 root sys' vboxdrv"
    5151fi
    52 if ! grep -q vboxdrv /etc/devlink.tab; then
     52if grep -q vboxdrv /etc/devlink.tab; then
     53    echo "* vboxdrv already present in /etc/devlink.tab"
     54else
    5355    echo "* Adding vboxdrv to /etc/devlink.tab"
    5456    $SUDO rm -f /tmp/devlink.tab.vboxdrv
     
    5759    echo 'type=ddi_pseudo;name=vboxdrv  \D' >> /tmp/devlink.tab.vboxdrv
    5860    $SUDO /bin/sh -c 'cat /tmp/devlink.tab.vboxdrv >> /etc/devlink.tab'
    59 else
    60     echo "* vboxdrv already present in /etc/devlink.tab"
    6161fi
    6262
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