Index: etc/defaults/rc.conf =================================================================== --- etc/defaults/rc.conf +++ etc/defaults/rc.conf @@ -37,6 +37,7 @@ apm_enable="NO" # Set to YES to enable APM BIOS functions (or NO). apmd_enable="NO" # Run apmd to handle APM event from userland. apmd_flags="" # Flags to apmd (if enabled). +bluetooth_enable="NO" # Set to YES to initialize bluetooth interfaces. ddb_enable="NO" # Set to YES to load ddb scripts at boot. ddb_config="/etc/ddb.conf" # ddb(8) config file. devd_enable="YES" # Run devd, to trigger programs on device tree changes. Index: etc/rc.d/bluetooth =================================================================== --- etc/rc.d/bluetooth +++ etc/rc.d/bluetooth @@ -34,7 +34,7 @@ name="bluetooth" desc="Bluetooth setup script" -rcvar= +rcvar="${name}_enable" start_cmd="bluetooth_start" stop_cmd="bluetooth_stop" required_modules="ng_bluetooth ng_hci ng_l2cap ng_btsocket"