blob: 503728fcbf50b65f2546ab7a97c7e946c8b144d2 (
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
|
#!/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=oak_enable
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"
|