source: build-files/ports-overlay/emulators/virtualbox-ose-additions/files/vboxservice.in @ 1e102bd

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 1e102bd was 1e102bd, checked in by Kris Moore <kris@…>, 12 months ago

Add a bunch of modified ports for 10.0, so we can fix the building

  • Property mode set to 100644
File size: 566 bytes
Line 
1#!/bin/sh
2
3# $FreeBSD: emulators/virtualbox-ose-additions/files/vboxservice.in 300896 2012-07-14 13:54:48Z beat $
4
5# PROVIDE: vboxservice
6# REQUIRE: DAEMON vboxguest
7# BEFORE: LOGIN
8# KEYWORD: shutdown
9
10# Define vboxservice_enable in /etc/rc.conf[.local] to enable it.
11#
12# vboxservice_enable (bool):  Set to "NO" by default.
13#                             Set it to "YES" to enable VBoxService.
14
15. /etc/rc.subr
16
17name="vboxservice"
18rcvar=vboxservice_enable
19command="%%PREFIX%%/sbin/VBoxService"
20
21load_rc_config $name
22
23: ${vboxservice_enable="NO"}
24
25run_rc_command "$1"
Note: See TracBrowser for help on using the repository browser.