VirtualBox

Ticket #2020: patch

File patch, 926 bytes (added by abe_skolnik, 16 years ago)

a context diff patch that fixes the problem, at least on my main PC

Line 
1*** VBox.sh Wed Aug 27 23:14:51 2008
2--- VBox.sh_orig Wed Aug 27 22:46:43 2008
3***************
4*** 32,40 ****
5
6 if [ "$1" = "shutdown" ]; then
7 SHUTDOWN="true"
8! # The following patch to prevent spurious unnecessary warnings when running on a 2.4.x host kernel written by Abe Skolnik 2008-8-27
9! # elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then
10! elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ] && [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.o ]; then
11 cat << EOF
12 WARNING: There is no module available for the current kernel (`uname -r`).
13 Please recompile the kernel module and install it by:
14--- 32,38 ----
15
16 if [ "$1" = "shutdown" ]; then
17 SHUTDOWN="true"
18! elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then
19 cat << EOF
20 WARNING: There is no module available for the current kernel (`uname -r`).
21 Please recompile the kernel module and install it by:

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy