VirtualBox

Ignore:
Timestamp:
Jun 9, 2021 10:32:41 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145013
Message:

Main: bugref:9948: Fixed GA installation on MacOS Catalina

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/darwin/Installer/VBoxGuestAdditionsToolsAndServices/VBoxServiceWrapper

    r82968 r89576  
    3636done
    3737
     38echo "Check if VBoxClient is added for all non-system users"
     39for user in $(dscl . -list /Users | grep -v -e'^_' -e'root'); do
     40    system_user="YES"
     41    test -n "$(dscl . -read /Users/$user NFSHomeDirectory | grep '/Users')" && system_user="NO"
     42    if [ "$system_user" = "NO" ]; then
     43        loaded="NO"
     44        test -n "$(sudo -u "$user" launchctl list | grep 'org.virtualbox.additions.vboxclient')" && loaded="YES"
     45        if [ "$loaded" = "NO" ] ; then
     46            echo "Loading org.virtualbox.additions.vboxclient for $user"
     47            sudo -u "$user" launchctl load -F "/Library/LaunchAgents/org.virtualbox.additions.vboxclient.plist"
     48        fi
     49    fi
     50done
     51
    3852exec "/Library/Application Support/VirtualBox Guest Additions/VBoxService" -f
    3953
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette