repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Minor optimization to LIST_FOREACH_MUTABLE taken from FreeBSD.
[dragonfly.git]
/
etc
/
rc.d
/
bthcid
blob
a8b67aad2619b2fd245cf0248e77ffb90ae0189c
1
#!/bin/sh
2
#
3
# $NetBSD: bthcid,v 1.1 2006/06/19 15:44:36 gdamore Exp $
4
# $DragonFly: src/etc/rc.d/bthcid,v 1.1 2008/01/30 14:10:19 hasso Exp $
5
6
# PROVIDE: bthcid
7
# REQUIRE: bluetooth
8
# BEFORE: LOGIN
9
10
$rc_subr_loaded
.
/
etc
/
rc.subr
11
12
name
=
"bthcid"
13
rcvar
=
$name
14
15
command
=
"/usr/sbin/
${name}
"
16
pidfile
=
"/var/run/
${name}
.pid"
17
18
load_rc_config
$name
19
run_rc_command
"
$1
"