]> git.pld-linux.org Git - packages/VirtualBox-bin.git/blobdiff - VirtualBox-vboxadd.init
- VBoxREM[32,64].so only for %{ix86}
[packages/VirtualBox-bin.git] / VirtualBox-vboxadd.init
index 2c59284de71a2a67825616d00c6848e800e76a4f..e51a56dc8188237d56db09e363677893683dc7ae 100644 (file)
@@ -2,7 +2,7 @@
 #
 # virtualbox   VirtualBox virtualizer for x86 hardware
 #
-# chkconfig:   345 84 25
+# chkconfig:   345 83 26
 #
 # description: InnoTek VirtualBox is a general-purpose full virtualizer for x86 
 #              hardware. Targeted at server, desktop and embedded use.
@@ -19,7 +19,7 @@ VBOX_MODULE="vboxadd"
 [ -f /etc/sysconfig/virtualbox ] && . /etc/sysconfig/virtualbox
 
 start() {
-       if [ ! -f /var/lock/subsys/virtualbox ]; then
+       if [ ! -f /var/lock/subsys/vboxadd ]; then
                modprobe -s $VBOX_MODULE
                # set proper /dev/vboxdrv for systems with static dev
                if ! [ -d /dev/.udev/ ]; then
@@ -47,15 +47,14 @@ start() {
                                ok
                        fi
                fi
-
-               touch /var/lock/subsys/virtualbox
+               touch /var/lock/subsys/vboxadd
        fi
 }
 
 stop() {
-       # NOTE: rmmod will wait if device is in use, so automatic rmmod probably not the best idea
+       # NOTE: rmmod will wait if device is in use, so automatic rmmod probably is not the best idea
        /sbin/rmmod $VBOX_MODULE
-       rm -f /var/lock/subsys/virtualbox
+       rm -f /var/lock/subsys/vboxadd
 }
 
 RETVAL=0
This page took 0.03306 seconds and 4 git commands to generate.