blob: 2a46dbc188ef9d431810e0ae7bc775aca436dd03 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
# PROVIDE: vboxservice
# REQUIRE: DAEMON vboxguest
# BEFORE: LOGIN
# KEYWORD: shutdown
# Define vboxservice_enable in /etc/rc.conf[.local] to enable it.
#
# vboxservice_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable VBoxService.
. /etc/rc.subr
name="vboxservice"
rcvar=vboxservice_enable
command="%%PREFIX%%/sbin/VBoxService"
load_rc_config $name
: ${vboxservice_enable="NO"}
run_rc_command "$1"
|