aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* Move rc startup scripts from etc/ to sbin/init/Brad Davis2018-07-281-366/+0
| | | | | | | | | | | This keeps most startup scripts as CONFS per discussion on src-committers from back during BSDCan. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16466 Notes: svn path=/head/; revision=336845
* bluetooth: Default to discoverable offConrad Meyer2017-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Try to not expose bluetooth devices to external devices unless the user explicitly configures it, like any other radio/network device. Bluetooth has a long history of security problems and it is probably best to keep it disabled if not needed. Users who do use the bluetooth device should enable "discoverable" in bluetooth.device.conf(5) after this change. Keep in mind that bluetooth addresses can be discovered by passive monitoring or whole address-space scans[0], so a safety conscious user should also disable "connectable" in bluetooth.device.conf(5). [0]: https://www.sans.edu/cyber-research/security-laboratory/article/bluetooth Reviewed by: emax, hselasky Security: maybe Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D12831 Notes: svn path=/head/; revision=325287
* - Add descriptions to most of the rc scripts. Those are mostly taken from theirLars Engels2016-04-231-0/+1
| | | | | | | | | | | daemon's manpage and probably improved. - Consistently use "filesystem" not "file system". Approved by: bapt, brueffer Differential Revision: D452 Notes: svn path=/head/; revision=298514
* Remove trailing white space. No functional changes.Doug Barton2010-05-141-3/+3
| | | | Notes: svn path=/head/; revision=208060
* With uart(4) default, change /dev/cuad# to /dev/cuau# andMarcel Moolenaar2008-07-191-7/+7
| | | | | | | sio# to uart# so that out-of-the-box FreeBSD is consistent. Notes: svn path=/head/; revision=180618
* As previously discussed, add the svn:executable property to all scriptsDoug Barton2008-07-161-0/+0
| | | | Notes: svn path=/head/; revision=180563
* Use $required_modules wherever suitable. Use load_kld() in specialYaroslav Tykhiy2006-12-311-7/+2
| | | | | | | cases. So we get rid of quite a few lines of duplicated code. Notes: svn path=/head/; revision=165683
* Eliminate global symbols starting with an underscore from rc.dYaroslav Tykhiy2006-12-301-0/+4
| | | | | | | | | | | | scripts, except for mdconfig* and jail. Such symbols are reserved for the rc.subr internals. Most scripts can be fixed by just declaring _foo symbols as local: few scripts actually need them to be global. Discussed with: dougb in freebsd-rc Notes: svn path=/head/; revision=165664
* Start integrating Bluetooth into rc.d system.Maksim Yevmenkin2005-11-101-0/+366
Introduce /etc/rc.d/bluetooth script to start/stop Bluetooth devices. It will be called from devd(8) in response to device arrival/departure events. It is also possible to call it by hand to start/stop particular device without unplugging it. Introduce generic way to set configuration parameters for Bluetooth devices. By default /etc/rc.d/bluetooth script has hardwired defaults compatible with old rc.bluetooth from /usr/share/netgraph/bluetooth/examples. These can be overridden using /etc/defaults/bluetooth.device.conf file (system wide defaults). Finally, there could be another device specific override file located in /etc/bluetooth/$device.conf (where $device is ubt0, btccc0 etc.) The list of configuration parameters and their meaning described in the /etc/defaults/bluetooth.device.conf file. Even though Bluetooth device configuration files are not shell scripts, they must follow basic sh(1) syntax. The bluetooth.device.conf(5) and handbook update will follow shortly. Inspired by: Panagiotis Astithas ( past at ebs dot gr ) Reviewed by: brooks, yar MFC after: 1 week Notes: svn path=/head/; revision=152286