]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/hcsecd
Add UPDATING entries and bump version.
[FreeBSD/FreeBSD.git] / etc / rc.d / hcsecd
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: hcsecd
7 # REQUIRE: DAEMON
8 # BEFORE: LOGIN
9 # KEYWORD: nojail shutdown
10
11 . /etc/rc.subr
12
13 name="hcsecd"
14 desc="Control link keys and PIN codes for Bluetooth devices"
15 rcvar="hcsecd_enable"
16 command="/usr/sbin/${name}"
17 pidfile="/var/run/${name}.pid"
18 required_modules="ng_btsocket"
19
20 load_rc_config $name
21 config="${hcsecd_config:-/etc/bluetooth/${name}.conf}"
22 command_args="-f ${config}"
23 required_files="${config}"
24
25 run_rc_command "$1"