#
# 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$
[ -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
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