blob: 8cbcef02286e9e9833651c58387437f264cf3bba (
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
24
25
26
|
#!/bin/sh
# $FreeBSD$
# PROVIDE: oak
# REQUIRE: DAEMON
# KEYWORD: shutdown
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
oak_enable="${oak_enable-NO}"
. /etc/rc.subr
name="oak"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/oak"
load_rc_config $name
: ${oak_config="%%PREFIX%%/etc/oak.conf"}
: ${oak_flags="-c ${oak_config}"}
: ${oak_user="nobody"}
required_files="${oak_config}"
run_rc_command "$1"
|