diff options
author | Maksim Yevmenkin <emax@FreeBSD.org> | 2005-10-11 19:16:48 +0000 |
---|---|---|
committer | Maksim Yevmenkin <emax@FreeBSD.org> | 2005-10-11 19:16:48 +0000 |
commit | 412d0f16d199f5e447d1b907448ec21e21f63c17 (patch) | |
tree | e7683df66ddaedd463f7cb3a6d733a9bc6b994f1 | |
parent | d3d902048cc0b0facddef68d9fc210dfd038c667 (diff) | |
download | src-test2-412d0f16d199f5e447d1b907448ec21e21f63c17.tar.gz src-test2-412d0f16d199f5e447d1b907448ec21e21f63c17.zip |
Notes
-rw-r--r-- | etc/defaults/rc.conf | 9 | ||||
-rw-r--r-- | etc/rc.d/hcsecd | 22 | ||||
-rw-r--r-- | etc/rc.d/sdpd | 22 |
3 files changed, 53 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 1385061d7520..3d543ac83827 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -309,6 +309,15 @@ isdn_screenflags="NO" # screenflags for ${isdn_fsdev} isdn_trace="NO" # Enable the ISDN trace subsystem (or NO). isdn_traceflags="-f /var/tmp/isdntrace0" # Flags for isdntrace +### Bluetooth ### +hcsecd_enable="NO" # Enable hcsecd(8) (or NO) +hcsecd_config="/etc/bluetooth/hcsecd.conf" # hcsecd(8) configuration file + +sdpd_enable="NO" # Enable sdpd(8) (or NO) +sdpd_control="/var/run/sdp" # sdpd(8) control socket +sdpd_group="nobody" # set spdp(8) user/group to run as after +sdpd_user="nobody" # it initializes + ### Miscellaneous network options: ### icmp_bmcastecho="NO" # respond to broadcast ping packets diff --git a/etc/rc.d/hcsecd b/etc/rc.d/hcsecd new file mode 100644 index 000000000000..445bf38523db --- /dev/null +++ b/etc/rc.d/hcsecd @@ -0,0 +1,22 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: hcsecd +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: nojail + +. /etc/rc.subr + +name="hcsecd" +config="${hcsecd_config:-/etc/bluetooth/${name}.conf}" +command="/usr/sbin/${name}" +command_args="-f ${config}" +pidfile="/var/run/${name}.pid" +required_files="${config}" +rcvar=`set_rcvar` + +load_rc_config $name +run_rc_command "$1" diff --git a/etc/rc.d/sdpd b/etc/rc.d/sdpd new file mode 100644 index 000000000000..dc0ab1d0d107 --- /dev/null +++ b/etc/rc.d/sdpd @@ -0,0 +1,22 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: sdpd +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: nojail + +. /etc/rc.subr + +name="sdpd" +control="${sdpd_control:-/var/run/sdp}" +group="${sdpd_group:-nobody}" +user="${sdpd_user:-nobody}" +command="/usr/sbin/${name}" +command_args="-c ${control} -g ${group} -u ${user}" +rcvar=`set_rcvar` + +load_rc_config $name +run_rc_command "$1" |