VirtualBox

Changeset 54300 in vbox for trunk


Ignore:
Timestamp:
Feb 19, 2015 4:15:38 PM (10 years ago)
Author:
vboxsync
Message:

solaris/load.sh: Device link creation and permissions, checking service status to reduce verbosity a little in most cases.

File:
1 edited

Legend:

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

    r48952 r54300  
    66
    77#
    8 # Copyright (C) 2006-2012 Oracle Corporation
     8# Copyright (C) 2006-2015 Oracle Corporation
    99#
    1010# This file is part of VirtualBox Open Source Edition (OSE), as
     
    4545
    4646# Disable the zone access service.
    47 $SUDO svcadm disable svc:/application/virtualbox/zoneaccess:default
     47servicefound=`svcs -H "virtualbox/zoneaccess" 2>/dev/null | grep '^online'`
     48if test ! -z "$servicefound"; then
     49    $SUDO svcadm disable svc:/application/virtualbox/zoneaccess:default
     50fi
    4851
    4952# Unload driver that may depend on the driver we're going to (re-)load
     
    9295        modinfo | grep -w "$DRVNAME"
    9396        MY_RC=0
     97        if test ! -h "/dev/vboxdrv"; then
     98            $SUDO ln -sf "/devices/pseudo/vboxdrv@0:vboxdrv" /dev/vboxdrv
     99            $SUDO chmod 0666 /dev/vboxdrv
     100        fi
    94101    else
    95102        dmesg | tail
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