Changeset 86449 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Oct 5, 2020 7:13:05 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/VBoxKEXTs/postflight
r86291 r86449 85 85 if [[ ${MACOS_VERS} != 11.0* ]]; then 86 86 set -e 87 kextload '/Library/Application Support/VirtualBox/VBoxDrv.kext' 88 kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxUSB.kext' 89 kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxNetFlt.kext' 90 kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxNetAdp.kext' 91 else 92 VBOX_RC=0 93 if ! kmutil load -b org.virtualbox.kext.VBoxDrv; then 94 VBOX_RC=1 95 fi 96 97 if ! kmutil load -b org.virtualbox.kext.VBoxUSB; then 98 VBOX_RC=1 99 fi 100 101 if ! kmutil load -b org.virtualbox.kext.VBoxNetFlt; then 102 VBOX_RC=1 103 fi 104 105 if ! kmutil load -b org.virtualbox.kext.VBoxNetAdp; then 106 VBOX_RC=1 107 fi 108 109 if [ $VBOX_RC -ne 1 ]; then 110 osascript -e 'display dialog "A reboot is required on macOS BigSur and onwards in order to be able to load the installed kernel extensions" buttons { "Ok" } with icon caution' 111 fi 87 112 fi 88 kextload '/Library/Application Support/VirtualBox/VBoxDrv.kext'89 kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxUSB.kext'90 kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxNetFlt.kext'91 kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxNetAdp.kext'92
Note:
See TracChangeset
for help on using the changeset viewer.