2011-09-03 23:26:36 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# /etc/rc.d/rc.local: Local system initialization script.
|
|
|
|
#
|
|
|
|
# Put any local startup commands in here. Also, if you have
|
|
|
|
# anything that needs to be run at shutdown time you can
|
|
|
|
# make an /etc/rc.d/rc.local_shutdown script and put those
|
|
|
|
# commands in there.
|
|
|
|
|
2011-10-22 09:44:37 +02:00
|
|
|
# dirty hack to let mortals adjust brightness on this laptop
|
|
|
|
chmod 666 /sys/class/backlight/intel_backlight/brightness
|
|
|
|
|
2011-09-03 23:26:36 +02:00
|
|
|
# Start vboxdrv
|
|
|
|
# If you do not wish this to be executed here then comment it out,
|
|
|
|
# and the installer will skip it next time.
|
|
|
|
if [ -x /etc/rc.d/rc.vboxdrv ]; then
|
|
|
|
/etc/rc.d/rc.vboxdrv start
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Start vboxballoonctrl-service
|
|
|
|
# If you do not wish this to be executed here then comment it out,
|
|
|
|
# and the installer will skip it next time.
|
|
|
|
if [ -x /etc/rc.d/rc.vboxballoonctrl-service ]; then
|
|
|
|
/etc/rc.d/rc.vboxballoonctrl-service start
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Start vboxweb-service
|
|
|
|
# If you do not wish this to be executed here then comment it out,
|
|
|
|
# and the installer will skip it next time.
|
|
|
|
if [ -x /etc/rc.d/rc.vboxweb-service ]; then
|
|
|
|
/etc/rc.d/rc.vboxweb-service start
|
|
|
|
fi
|
|
|
|
|