blob: cb2375868ca9342906eb330a0f2bfa0d5bc10b57 (
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
|
#!/bin/sh
# $FreeBSD$
# 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"
|