412d0f16d1
/etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices are attached to the system. Both daemons depend on Bluetooth socket layer and thus disabled by default. Bluetooth sockets layer must be either loaded as a module or compiled into kernel before the daemons can run. MFC after: 1 month
23 lines
357 B
Bash
23 lines
357 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: hcsecd
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: nojail
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="hcsecd"
|
|
config="${hcsecd_config:-/etc/bluetooth/${name}.conf}"
|
|
command="/usr/sbin/${name}"
|
|
command_args="-f ${config}"
|
|
pidfile="/var/run/${name}.pid"
|
|
required_files="${config}"
|
|
rcvar=`set_rcvar`
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|