aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/sdpd
Commit message (Collapse)AuthorAgeFilesLines
* Move rc startup scripts from etc/ to sbin/init/Brad Davis2018-07-281-25/+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
* - 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
* Prepare for the removal of set_rcvar() by changing the rcvar=Doug Barton2012-01-141-1/+1
| | | | | | | | | | | | | | | | | | assignments to the literal values it would have returned. The concept of set_rcvar() was nice in theory, but the forks it creates are a drag on the startup process, which is especially noticeable on slower systems, such as embedded ones. During the discussion on freebsd-rc@ a preference was expressed for using ${name}_enable instead of the literal values. However the code portability concept doesn't really apply since there are so many other places where the literal name has to be searched for and replaced. Also, using the literal value is also a tiny bit faster than dereferencing the variables, and every little bit helps. Notes: svn path=/head/; revision=230099
* Add the shutdown KEYWORD to those scripts that start persistent servicesDoug Barton2008-07-161-1/+1
| | | | | | | | | | | | | | to allow them to do a "clean" shutdown. I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel. I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it. Notes: svn path=/head/; revision=180564
* 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-15/+1
| | | | | | | cases. So we get rid of quite a few lines of duplicated code. Notes: svn path=/head/; revision=165683
* Remove not needed redirection of kldstat -q output to /dev/null.Maksim Yevmenkin2005-11-221-1/+1
| | | | | | | | Noticed by: pjd MFC after: 3 days Notes: svn path=/head/; revision=152690
* Revise hcsecd(8) and sdpd(8) rc.d scripts one more timeMaksim Yevmenkin2005-11-221-6/+14
| | | | | | | | | | | | | - Use _prestart rc.d method to automatically kldload ng_btsocket(4) if needed; - Rename "sdpd_user" to "sdpd_username" and "sdpd_group" to "sdpd_groupname" to avoid collision with "magic" variables; Inspired by: yar MFC after: 3 days Notes: svn path=/head/; revision=152688
* Revise hcsecd(8) and sdpd(8) rc.d scripts.Maksim Yevmenkin2005-11-151-3/+11
| | | | | | | | | | | | | - Have both scripts automatically kldload ng_btsocket(4). I did not want to do it, but its easier for users and it seems other scripts do similar things; - Assign few variables after load_rc_config, so the /etc/rc.conf overrides actually work; MFC after: 1 week Notes: svn path=/head/; revision=152462
* Add rc.d scripts for the hcsecd(8) and sdpd(8) daemons. Put defaults intoMaksim Yevmenkin2005-10-111-0/+22
/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 Notes: svn path=/head/; revision=151240