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