]> git.pld-linux.org Git - packages/VirtualBox-bin.git/blobdiff - VirtualBox-vboxdrv.init
- use python 2.7, release 2.
[packages/VirtualBox-bin.git] / VirtualBox-vboxdrv.init
index 51cd2cf3a437f6ad309f4add1d99f3eea151b6c1..c3161d869b1c72e61dae465df4d3b5f79d40cb12 100644 (file)
@@ -2,9 +2,9 @@
 #
 # virtualbox   VirtualBox virtualizer for x86 hardware
 #
-# chkconfig:   345 84 25
+# chkconfig:   345 82 27
 #
-# description: InnoTek VirtualBox is a general-purpose full virtualizer for x86 
+# description: VirtualBox is a general-purpose full virtualizer for x86 
 #              hardware. Targeted at server, desktop and embedded use.
 #
 # $Id$
@@ -19,7 +19,7 @@ VBOX_MODULE="vboxdrv"
 [ -f /etc/sysconfig/virtualbox ] && . /etc/sysconfig/virtualbox
 
 start() {
-       if [ ! -f /var/lock/subsys/virtualbox ]; then
+       if [ ! -f /var/lock/subsys/vboxdrv ]; 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/vboxdrv
        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/vboxdrv
 }
 
 RETVAL=0
This page took 0.186594 seconds and 4 git commands to generate.