summaryrefslogtreecommitdiff
path: root/debian/patches/09-initscript.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/09-initscript.dpatch')
-rwxr-xr-xdebian/patches/09-initscript.dpatch6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/patches/09-initscript.dpatch b/debian/patches/09-initscript.dpatch
index 62e4c8eaf..0359bf0db 100755
--- a/debian/patches/09-initscript.dpatch
+++ b/debian/patches/09-initscript.dpatch
@@ -76,7 +76,7 @@ diff -Naurp virtualbox-ose-3.0.0-dfsg.orig/src/VBox/Installer/linux/vboxdrv.sh.i
fi
# ensure the character special exists
if [ ! -c $DEVICE ]; then
-@@ -185,31 +201,47 @@
+@@ -185,31 +201,51 @@
rmmod vboxdrv 2>/dev/null
failure "Cannot change owner $GROUPNAME for device $DEVICE"
fi
@@ -92,6 +92,8 @@ diff -Naurp virtualbox-ose-3.0.0-dfsg.orig/src/VBox/Installer/linux/vboxdrv.sh.i
+ else
+ failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why"
+ fi
++ else
++ prog_msg vboxnetflt
+ fi
+ if ! modprobe vboxnetadp > /dev/null 2>&1; then
+ if ! find /lib/modules/`uname -r` -name "vboxnetadp\.*" 2>/dev/null|grep -q vboxnetadp; then
@@ -99,6 +101,8 @@ diff -Naurp virtualbox-ose-3.0.0-dfsg.orig/src/VBox/Installer/linux/vboxdrv.sh.i
+ else
+ failure "modprobe vboxnetadp failed. Please use 'dmesg' to find out why"
+ fi
++ else
++ prog_msg vboxnetadp
+ fi
fi
succ_msg