File virtualbox-ose-init-scripts.diff of Package virtualbox-ose

--- src/VBox/Additions/linux/installer/vboxvfs.sh
+++ src/VBox/Additions/linux/installer/vboxvfs.sh
@@ -24,7 +24,7 @@
 ### BEGIN INIT INFO
 # Provides:       vboxvfs
 # Required-Start: vboxadd
-# Required-Stop:
+# Required-Stop:  $null
 # Default-Start:  2 3 4 5
 # Default-Stop:   0 1 6
 # Description:    VirtualBox Linux Additions VFS kernel module
--- src/VBox/Installer/linux/vboxdrv.sh.in
+++ src/VBox/Installer/linux/vboxdrv.sh.in
@@ -20,7 +20,7 @@
 ### BEGIN INIT INFO
 # Provides:       vboxdrv
 # Required-Start: $syslog
-# Required-Stop:
+# Required-Stop:  $null
 # Default-Start:  2 3 4 5
 # Default-Stop:   0 1 6
 # Short-Description: VirtualBox Linux kernel module
@@ -246,15 +246,7 @@
 setup()
 {
     stop
-    if find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then
-      begin_msg "Removing old VirtualBox kernel module"
-      find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|xargs rm -f 2>/dev/null
-      succ_msg
-    fi
-    begin_msg "Recompiling VirtualBox kernel module"
-    if ! $BUILDINTMP install > $LOG 2>&1; then
-        failure "Look at $LOG to find out what went wrong"
-    fi
+    begin_msg "Recompiling VirtualBox kernel module, NOT. It has been packaged. "
     succ_msg
     start
 }
--- src/VBox/Installer/linux/vboxnet.sh.in
+++ src/VBox/Installer/linux/vboxnet.sh.in
@@ -21,7 +21,9 @@
 ### BEGIN INIT INFO
 # Provides:       vboxnet
 # Required-Start: $network
-# Required-Stop:
+# Required-Stop:  $null
+# Should-Start:   ypbind
+# Should-Stop:    ypbind
 # Default-Start:  2 3 4 5
 # Default-Stop:   0 1 6
 # Description:    VirtualBox permanent host networking setup
openSUSE Build Service is sponsored by