summaryrefslogtreecommitdiff
path: root/system/virtualbox-addons/README.SLACKWARE
blob: 2def33125c169b42fe51a4eba08aeb168f53f20e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
You'll need to add the following lines to /etc/rc.d/rc.local:

	# Start vboxadd
	if [ -x /etc/rc.d/rc.vboxadd ]; then
	  /etc/rc.d/rc.vboxadd start
	fi

	# Start vboxadd-service
	if [ -x /etc/rc.d/rc.vboxadd-service ]; then
	  /etc/rc.d/rc.vboxadd-service start
	fi

This will load the support kernel module and will setup the network
configuration for VirtualBox.

You should then add the following to /etc/rc.d/rc.local_shutdown:

	# Stop vboxadd
	if [ -x /etc/rc.d/rc.vboxadd ]; then
	  /etc/rc.d/rc.vboxadd stop
	fi

	# Stop vboxadd-service
	if [ -x /etc/rc.d/rc.vboxadd-service ]; then
	  /etc/rc.d/rc.vboxadd-service stop
	fi

You might want to add "/usr/bin/VBoxClient"
to your xinitrc file if you use a desktop environment that doesn't
respect /etc/xdg/autostart or /usr/share/autostart