VirtualBox

Ignore:
Timestamp:
Jun 13, 2009 8:22:25 PM (15 years ago)
Author:
vboxsync
Message:

HostDrivers/*/darwin/*load*.sh: nfs fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/loadnetflt.sh

    r17009 r20529  
    8181# On smbfs, this might succeed just fine but make no actual changes,
    8282# so we might have to temporarily copy the driver to a local directory.
    83 sudo chown -R root:wheel "$DIR" "$DEP_DIR"
    84 OWNER=`/usr/bin/stat -f "%u" "$DIR"`
     83if sudo chown -R root:wheel "$DIR" "$DEP_DIR"; then
     84    OWNER=`/usr/bin/stat -f "%u" "$DIR"`
     85else
     86    OWNER=1000
     87fi
    8588if test "$OWNER" -ne 0; then
    8689    TMP_DIR=/tmp/${SCRIPT_NAME}.tmp
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