Browse Source

Add bt=YES to /etc/rc.conf.local to start the daemon

OPENBSD_4_5
uwe 15 years ago
parent
commit
d22c41ab9e
2 changed files with 11 additions and 2 deletions
  1. +8
    -1
      src/etc/rc
  2. +3
    -1
      src/etc/rc.conf

+ 8
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.319 2008/10/03 14:25:11 deraadt Exp $
# $OpenBSD: rc,v 1.320 2008/11/27 00:52:06 uwe Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -675,6 +675,13 @@ if [ X"${hostapd_flags}" != X"NO" ]; then
echo -n ' hostapd'; /usr/sbin/hostapd ${hostapd_flags};
fi
if [ X"${bt}" != X"NO" ]; then
echo -n ' btd'; /usr/sbin/btd
if [ -f ${bt_rules} ]; then
btctl -f ${bt_rules}
fi
fi
if [ X"${rwhod}" = X"YES" ]; then
echo -n ' rwhod'; rwhod
fi


+ 3
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.130 2008/06/09 22:21:49 mbalmer Exp $
# $OpenBSD: rc.conf,v 1.131 2008/11/27 00:52:06 uwe Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
ripd_flags=NO # for normal use: ""
@ -70,6 +70,7 @@ lockd=NO
amd=NO
pf=NO # Packet filter / NAT
ipsec=NO # IPsec
bt=NO # Bluetooth
portmap=NO # Note: inetd(8) rpc services need portmap too
inetd=YES # almost always needed
check_quotas=YES # NO may be desirable in some YP environments
@ -95,6 +96,7 @@ amd_master=/etc/amd/master # AMD 'master' map
syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log"
pf_rules=/etc/pf.conf # Packet filter rules file
ipsec_rules=/etc/ipsec.conf # IPsec rules file
bt_rules=/etc/bt.conf # Bluetooth rules file
pflogd_flags= # add more flags, ie. "-s 256"
afsd_flags= # Flags passed to afsd
shlib_dirs= # extra directories for ldconfig, separated


Loading…
Cancel
Save