#!/bin/sh # $FreeBSD: head/sysutils/oak/files/oak.in 340872 2014-01-24 00:14:07Z mat $ # 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"