blob: 0fec5e88db54b07932e089a3804d3cc1dd9dd096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
# PROVIDE: cmogstored
# REQUIRE: LOGIN cleanvar
# KEYWORD: shutdown
. /etc/rc.subr
name=cmogstored
rcvar=cmogstored_enable
load_rc_config cmogstored
: ${cmogstored_enable:="NO"}
: ${cmogstored_config:="%%PREFIX%%/etc/mogstored.conf"}
required_files="${cmogstored_config}"
command="%%PREFIX%%/sbin/${name}"
command_args="--config='${cmogstored_config}' -d"
run_rc_command "$1"
|