hcsecd revision 180564
1151240Semax#!/bin/sh 2151240Semax# 3151240Semax# $FreeBSD: head/etc/rc.d/hcsecd 180564 2008-07-16 19:50:29Z dougb $ 4151240Semax# 5151240Semax 6151240Semax# PROVIDE: hcsecd 7151240Semax# REQUIRE: DAEMON 8151240Semax# BEFORE: LOGIN 9180564Sdougb# KEYWORD: nojail shutdown 10151240Semax 11151240Semax. /etc/rc.subr 12151240Semax 13151240Semaxname="hcsecd" 14151240Semaxcommand="/usr/sbin/${name}" 15151240Semaxpidfile="/var/run/${name}.pid" 16151240Semaxrcvar=`set_rcvar` 17165683Syarrequired_modules="ng_btsocket" 18151240Semax 19151240Semaxload_rc_config $name 20152462Semaxconfig="${hcsecd_config:-/etc/bluetooth/${name}.conf}" 21152462Semaxcommand_args="-f ${config}" 22152462Semaxrequired_files="${config}" 23152462Semax 24151240Semaxrun_rc_command "$1" 25