blob: 635cbfc549df1f58bcd1e90ad3b1768ef0629b8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
# PROVIDE: vdradmind
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf[.local] to enable vdradmin_am:
#
# vdradmind_enable="YES"
. /etc/rc.subr
name=vdradmind
rcvar=vdradmind_enable
command="%%PREFIX%%/bin/vdradmind"
pidfile="/var/run/vdradmin-am/${name}.pid"
load_rc_config ${name}
: ${vdradmind_enable="NO"}
: ${vdradmind_user="vdr"}
run_rc_command "$1"
|