VirtualBox

Changeset 9555 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Jun 9, 2008 5:23:29 PM (16 years ago)
Author:
vboxsync
Message:

/usr/bin/grep doesn't grok -q.

File:
1 edited

Legend:

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

    r9554 r9555  
    4141$SUDO cp $DIR/vboxdrv $VBOXDRV_DIR/vboxdrv
    4242$SUDO cp $script_dir/src/VBox/HostDrivers/Support/solaris/vboxdrv.conf $VBOXDRV_CONF_DIR/vboxdrv.conf
    43 old_id=`/usr/sbin/modinfo | grep vbox | cut -f 1 -d ' ' `
     43old_id=`/usr/sbin/modinfo | /usr/xpg4/bin/grep vbox | cut -f 1 -d ' ' `
    4444if test -n "$old_id"; then
    4545    echo "* unloading $old_id..."
     
    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/usr/xpg4/bin/grep -q vboxdrv /etc/devlink.tab; then
    5353    echo "* vboxdrv already present in /etc/devlink.tab"
    5454else
     
    6565sync
    6666$SUDO /usr/sbin/modload $VBOXDRV_DIR/vboxdrv
    67 /usr/sbin/modinfo | grep vboxdrv
     67/usr/sbin/modinfo | /usr/xpg4/bin/grep vboxdrv
    6868echo "* dmesg:"
    6969dmesg | tail -20
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