Changeset 67858 in vbox
- Timestamp:
- Jul 7, 2017 3:24:25 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116814
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r67852 r67858 206 206 fi 207 207 208 case "${x_version}" in 209 4.* | 6.* | 7.* | 1.?.* | 1.1[0-6].* ) 210 blacklist_vboxvideo="yes" 211 ;; 212 esac 213 case "$oracle_release" in 214 Oracle*release\ 6.* ) 215 # relevant for OL6/UEK4 but cannot hurt for other kernels 216 blacklist_vboxvideo="yes" 217 esac 218 if test -n "${blacklist_vboxvideo}"; then 219 echo "blacklist vboxvideo" > /etc/modprobe.d/blacklist-vboxvideo.conf 220 else 221 test -f /etc/modprobe.d/blacklist-vboxvideo.conf && 222 rm -f /etc/modprobe.d/blacklist-vboxvideo.conf 223 # We do not want to load the driver if X.Org Server is already 224 # running, as without a driver the server will touch the hardware 225 # directly, causing problems. 226 ps -Af | grep -q '[X]org' || ${MODPROBE} -q vboxvideo 227 fi 228 208 229 test -z "$x_version" -o -z "$modules_dir" && 209 230 { … … 334 355 ;; 335 356 esac 336 case "${x_version}" in337 4.* | 6.* | 7.* | 1.?.* | 1.1[0-6].* )338 blacklist_vboxvideo="yes"339 ;;340 esac341 case "$oracle_release" in342 Oracle*release\ 6.* )343 # relevant for OL6/UEK4 but cannot hurt for other kernels344 blacklist_vboxvideo="yes"345 esac346 if test -n "${blacklist_vboxvideo}"; then347 echo "blacklist vboxvideo" > /etc/modprobe.d/blacklist-vboxvideo.conf348 else349 test -f /etc/modprobe.d/blacklist-vboxvideo.conf &&350 rm -f /etc/modprobe.d/blacklist-vboxvideo.conf351 # We do not want to load the driver if X.Org Server is already352 # running, as without a driver the server will touch the hardware353 # directly, causing problems.354 ps -Af | grep -q '[X]org' || ${MODPROBE} vboxvideo355 fi356 357 test -n "${dox11config}" && 357 358 echo "Installing $xserver_version modules" >&2
Note:
See TracChangeset
for help on using the changeset viewer.