Advertisement
Guest User

Untitled

a guest
Apr 15th, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.88 KB | None | 0 0
  1. # sh -x /etc/rc.d/bluetooth start ubt0
  2. + . /etc/rc.subr
  3. + : 'rc.conf(5)'
  4. + : 7236
  5. + export RC_PID
  6. + [ -z '' ]
  7. + _rc_subr_loaded=YES
  8. + SYSCTL=/sbin/sysctl
  9. + SYSCTL_N='/sbin/sysctl -n'
  10. + SYSCTL_W=/sbin/sysctl
  11. + ID=/usr/bin/id
  12. + IDCMD='if [ -x /usr/bin/id ]; then /usr/bin/id -un; fi'
  13. + PS='/bin/ps -ww'
  14. + /bin/ps -ww -p 7236 -o jid=
  15. + JID=' 0'
  16. + _rc_subr_loaded=:
  17. + name=bluetooth
  18. + rcvar=''
  19. + start_cmd=bluetooth_start
  20. + stop_cmd=bluetooth_stop
  21. + required_modules='ng_bluetooth ng_hci ng_l2cap ng_btsocket'
  22. + load_rc_config bluetooth
  23. + local _name _var _defval _v _msg _new
  24. + _name=bluetooth
  25. + [ -z bluetooth ]
  26. + false
  27. + [ -r /etc/defaults/rc.conf ]
  28. + debug 'Sourcing /etc/defaults/rc.conf'
  29. + . /etc/defaults/rc.conf
  30. + rc_debug=NO
  31. + rc_info=NO
  32. + rc_startmsgs=YES
  33. + rcshutdown_timeout=30
  34. + early_late_divider=FILESYSTEMS
  35. + swapfile=NO
  36. + apm_enable=NO
  37. + apmd_enable=NO
  38. + apmd_flags=''
  39. + ddb_enable=NO
  40. + ddb_config=/etc/ddb.conf
  41. + devd_enable=YES
  42. + devd_flags=''
  43. + kldxref_enable=NO
  44. + kldxref_clobber=NO
  45. + kldxref_module_path=''
  46. + powerd_enable=NO
  47. + powerd_flags=''
  48. + tmpmfs=AUTO
  49. + tmpsize=20m
  50. + tmpmfs_flags=-S
  51. + varmfs=AUTO
  52. + varsize=32m
  53. + varmfs_flags=-S
  54. + populate_var=AUTO
  55. + cleanvar_enable=YES
  56. + local_startup=/usr/local/etc/rc.d
  57. + script_name_sep=' '
  58. + rc_conf_files='/etc/rc.conf /etc/rc.conf.local'
  59. + zfs_enable=NO
  60. + gptboot_enable=YES
  61. + gbde_autoattach_all=NO
  62. + gbde_devices=NO
  63. + gbde_attach_attempts=3
  64. + gbde_lockdir=/etc
  65. + geli_devices=''
  66. + geli_tries=''
  67. + geli_default_flags=''
  68. + geli_autodetach=YES
  69. + geli_swap_flags='-e aes -l 256 -s 4096 -d'
  70. + root_rw_mount=YES
  71. + fsck_y_enable=NO
  72. + fsck_y_flags=''
  73. + background_fsck=YES
  74. + background_fsck_delay=60
  75. + netfs_types='nfs:NFS oldnfs:OLDNFS smbfs:SMB portalfs:PORTAL nwfs:NWFS'
  76. + extra_netfs_types=NO
  77. + hostname=''
  78. + hostid_enable=YES
  79. + hostid_file=/etc/hostid
  80. + nisdomainname=NO
  81. + dhclient_program=/sbin/dhclient
  82. + dhclient_flags=''
  83. + background_dhclient=NO
  84. + synchronous_dhclient=NO
  85. + defaultroute_delay=30
  86. + defaultroute_carrier_delay=5
  87. + wpa_supplicant_program=/usr/sbin/wpa_supplicant
  88. + wpa_supplicant_flags=-s
  89. + wpa_supplicant_conf_file=/etc/wpa_supplicant.conf
  90. + firewall_enable=NO
  91. + firewall_script=/etc/rc.firewall
  92. + firewall_type=UNKNOWN
  93. + firewall_quiet=NO
  94. + firewall_logging=NO
  95. + firewall_flags=''
  96. + firewall_coscripts=''
  97. + firewall_client_net=192.0.2.0/24
  98. + firewall_simple_iif=ed1
  99. + firewall_simple_inet=192.0.2.16/28
  100. + firewall_simple_oif=ed0
  101. + firewall_simple_onet=192.0.2.0/28
  102. + firewall_myservices=''
  103. + firewall_allowservices=''
  104. + firewall_trusted=''
  105. + firewall_logdeny=NO
  106. + firewall_nologports='135-139,445 1026,1027 1433,1434'
  107. + firewall_nat_enable=NO
  108. + firewall_nat_interface=''
  109. + firewall_nat_flags=''
  110. + dummynet_enable=NO
  111. + ip_portrange_first=NO
  112. + ip_portrange_last=NO
  113. + ike_enable=NO
  114. + ike_program=/usr/local/sbin/isakmpd
  115. + ike_flags=''
  116. + ipsec_enable=NO
  117. + ipsec_file=/etc/ipsec.conf
  118. + natd_program=/sbin/natd
  119. + natd_enable=NO
  120. + natd_interface=''
  121. + natd_flags=''
  122. + ipfilter_enable=NO
  123. + ipfilter_program=/sbin/ipf
  124. + ipfilter_rules=/etc/ipf.rules
  125. + ipfilter_flags=''
  126. + ipnat_enable=NO
  127. + ipnat_program=/sbin/ipnat
  128. + ipnat_rules=/etc/ipnat.rules
  129. + ipnat_flags=''
  130. + ipmon_enable=NO
  131. + ipmon_program=/sbin/ipmon
  132. + ipmon_flags=-Ds
  133. + ipfs_enable=NO
  134. + ipfs_program=/sbin/ipfs
  135. + ipfs_flags=''
  136. + pf_enable=NO
  137. + pf_rules=/etc/pf.conf
  138. + pf_program=/sbin/pfctl
  139. + pf_flags=''
  140. + pflog_enable=NO
  141. + pflog_logfile=/var/log/pflog
  142. + pflog_program=/sbin/pflogd
  143. + pflog_flags=''
  144. + ftpproxy_enable=NO
  145. + ftpproxy_flags=''
  146. + pfsync_enable=NO
  147. + pfsync_syncdev=''
  148. + pfsync_syncpeer=''
  149. + pfsync_ifconfig=''
  150. + tcp_extensions=YES
  151. + log_in_vain=0
  152. + tcp_keepalive=YES
  153. + tcp_drop_synfin=NO
  154. + icmp_drop_redirect=NO
  155. + icmp_log_redirect=NO
  156. + network_interfaces=auto
  157. + cloned_interfaces=''
  158. + sppp_interfaces=''
  159. + gif_interfaces=''
  160. + fec_interfaces=''
  161. + ppp_enable=NO
  162. + ppp_program=/usr/sbin/ppp
  163. + ppp_mode=auto
  164. + ppp_nat=YES
  165. + ppp_profile=papchap
  166. + ppp_user=root
  167. + hostapd_enable=NO
  168. + syslogd_enable=YES
  169. + syslogd_program=/usr/sbin/syslogd
  170. + syslogd_flags=-s
  171. + inetd_enable=NO
  172. + inetd_program=/usr/sbin/inetd
  173. + inetd_flags='-wW -C 60'
  174. + hastd_enable=NO
  175. + hastd_program=/sbin/hastd
  176. + hastd_flags=''
  177. + named_enable=NO
  178. + named_program=/usr/sbin/named
  179. + named_conf=/etc/namedb/named.conf
  180. + named_uid=bind
  181. + named_chrootdir=/var/named
  182. + named_chroot_autoupdate=YES
  183. + named_symlink_enable=YES
  184. + named_wait=NO
  185. + named_wait_host=localhost
  186. + named_auto_forward=NO
  187. + named_auto_forward_only=NO
  188. + kerberos5_server_enable=NO
  189. + kerberos5_server=/usr/libexec/kdc
  190. + kerberos5_server_flags=--detach
  191. + kadmind5_server_enable=NO
  192. + kadmind5_server=/usr/libexec/kadmind
  193. + kpasswdd_server_enable=NO
  194. + kpasswdd_server=/usr/libexec/kpasswdd
  195. + gssd_enable=NO
  196. + gssd_flags=''
  197. + rwhod_enable=NO
  198. + rwhod_flags=''
  199. + rarpd_enable=NO
  200. + rarpd_flags=-a
  201. + bootparamd_enable=NO
  202. + bootparamd_flags=''
  203. + pppoed_enable=NO
  204. + pppoed_provider='*'
  205. + pppoed_flags='-P /var/run/pppoed.pid'
  206. + pppoed_interface=fxp0
  207. + sshd_enable=NO
  208. + sshd_program=/usr/sbin/sshd
  209. + sshd_flags=''
  210. + ftpd_enable=NO
  211. + ftpd_program=/usr/libexec/ftpd
  212. + ftpd_flags=''
  213. + amd_enable=NO
  214. + amd_program=/usr/sbin/amd
  215. + amd_flags='-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map'
  216. + amd_map_program=NO
  217. + nfs_client_enable=NO
  218. + nfs_access_cache=60
  219. + nfs_server_enable=NO
  220. + oldnfs_server_enable=NO
  221. + nfs_server_flags='-u -t -n 4'
  222. + mountd_enable=NO
  223. + mountd_flags=-r
  224. + weak_mountd_authentication=NO
  225. + nfs_reserved_port_only=NO
  226. + nfs_bufpackets=''
  227. + rpc_lockd_enable=NO
  228. + rpc_lockd_flags=''
  229. + rpc_statd_enable=NO
  230. + rpc_statd_flags=''
  231. + rpcbind_enable=NO
  232. + rpcbind_program=/usr/sbin/rpcbind
  233. + rpcbind_flags=''
  234. + rpc_ypupdated_enable=NO
  235. + keyserv_enable=NO
  236. + keyserv_flags=''
  237. + nfsv4_server_enable=NO
  238. + nfscbd_enable=NO
  239. + nfscbd_flags=''
  240. + nfsuserd_enable=NO
  241. + nfsuserd_flags=''
  242. + timed_enable=NO
  243. + timed_flags=''
  244. + ntpdate_enable=NO
  245. + ntpdate_program=/usr/sbin/ntpdate
  246. + ntpdate_flags=-b
  247. + ntpdate_config=/etc/ntp.conf
  248. + ntpdate_hosts=''
  249. + ntpd_enable=NO
  250. + ntpd_program=/usr/sbin/ntpd
  251. + ntpd_config=/etc/ntp.conf
  252. + ntpd_sync_on_start=NO
  253. + ntpd_flags='-p /var/run/ntpd.pid -f /var/db/ntpd.drift'
  254. + nis_client_enable=NO
  255. + nis_client_flags=''
  256. + nis_ypset_enable=NO
  257. + nis_ypset_flags=''
  258. + nis_server_enable=NO
  259. + nis_server_flags=''
  260. + nis_ypxfrd_enable=NO
  261. + nis_ypxfrd_flags=''
  262. + nis_yppasswdd_enable=NO
  263. + nis_yppasswdd_flags=''
  264. + bsnmpd_enable=NO
  265. + bsnmpd_flags=''
  266. + defaultrouter=NO
  267. + static_arp_pairs=''
  268. + static_ndp_pairs=''
  269. + static_routes=''
  270. + natm_static_routes=''
  271. + gateway_enable=NO
  272. + routed_enable=NO
  273. + routed_program=/sbin/routed
  274. + routed_flags=-q
  275. + mrouted_enable=NO
  276. + mrouted_program=/usr/local/sbin/mrouted
  277. + mrouted_flags=''
  278. + ipxgateway_enable=NO
  279. + ipxrouted_enable=NO
  280. + ipxrouted_flags=''
  281. + arpproxy_all=NO
  282. + forward_sourceroute=NO
  283. + accept_sourceroute=NO
  284. + atm_enable=NO
  285. + atm_pvcs=''
  286. + atm_arps=''
  287. + hcsecd_enable=NO
  288. + hcsecd_config=/etc/bluetooth/hcsecd.conf
  289. + sdpd_enable=NO
  290. + sdpd_control=/var/run/sdp
  291. + sdpd_groupname=nobody
  292. + sdpd_username=nobody
  293. + bthidd_enable=NO
  294. + bthidd_config=/etc/bluetooth/bthidd.conf
  295. + bthidd_hids=/var/db/bthidd.hids
  296. + rfcomm_pppd_server_enable=NO
  297. + rfcomm_pppd_server_profile='one two'
  298. + rfcomm_pppd_server_one_channel=1
  299. + rfcomm_pppd_server_two_channel=3
  300. + ubthidhci_enable=NO
  301. + netwait_enable=NO
  302. + netwait_timeout=60
  303. + netwait_if_timeout=30
  304. + icmp_bmcastecho=NO
  305. + ipv6_network_interfaces=auto
  306. + ipv6_activate_all_interfaces=NO
  307. + ipv6_defaultrouter=NO
  308. + ipv6_static_routes=''
  309. + ipv6_gateway_enable=NO
  310. + ipv6_cpe_wanif=NO
  311. + ipv6_privacy=NO
  312. + route6d_enable=NO
  313. + route6d_program=/usr/sbin/route6d
  314. + route6d_flags=''
  315. + ipv6_default_interface=NO
  316. + rtsol_flags=''
  317. + rtsold_enable=NO
  318. + rtsold_flags=-a
  319. + rtadvd_enable=NO
  320. + rtadvd_interfaces=''
  321. + mroute6d_enable=NO
  322. + mroute6d_program=/usr/local/sbin/pim6dd
  323. + mroute6d_flags=''
  324. + stf_interface_ipv4addr=''
  325. + stf_interface_ipv4plen=0
  326. + stf_interface_ipv6_ifid=0:0:0:1
  327. + stf_interface_ipv6_slaid=0000
  328. + ipv6_faith_prefix=NO
  329. + ipv6_ipv4mapping=NO
  330. + ipv6_ipfilter_rules=/etc/ipf6.rules
  331. + ip6addrctl_enable=YES
  332. + ip6addrctl_verbose=NO
  333. + ip6addrctl_policy=AUTO
  334. + keyboard=''
  335. + keymap=NO
  336. + keyrate=NO
  337. + keybell=NO
  338. + keychange=NO
  339. + cursor=NO
  340. + scrnmap=NO
  341. + font8x16=NO
  342. + font8x14=NO
  343. + font8x8=NO
  344. + blanktime=300
  345. + saver=NO
  346. + moused_nondefault_enable=YES
  347. + moused_enable=NO
  348. + moused_type=auto
  349. + moused_port=/dev/psm0
  350. + moused_flags=''
  351. + mousechar_start=NO
  352. + allscreens_flags=''
  353. + allscreens_kbdflags=''
  354. + mta_start_script=/etc/rc.sendmail
  355. + sendmail_enable=NO
  356. + sendmail_pidfile=/var/run/sendmail.pid
  357. + sendmail_procname=/usr/sbin/sendmail
  358. + sendmail_flags='-L sm-mta -bd -q30m'
  359. + sendmail_submit_enable=YES
  360. + sendmail_submit_flags='-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost'
  361. + sendmail_outbound_enable=YES
  362. + sendmail_outbound_flags='-L sm-queue -q30m'
  363. + sendmail_msp_queue_enable=YES
  364. + sendmail_msp_queue_flags='-L sm-msp-queue -Ac -q30m'
  365. + sendmail_rebuild_aliases=NO
  366. + auditd_enable=NO
  367. + auditd_program=/usr/sbin/auditd
  368. + auditd_flags=''
  369. + cron_enable=YES
  370. + cron_program=/usr/sbin/cron
  371. + cron_dst=YES
  372. + cron_flags=''
  373. + lpd_enable=NO
  374. + lpd_program=/usr/sbin/lpd
  375. + lpd_flags=''
  376. + nscd_enable=NO
  377. + chkprintcap_enable=NO
  378. + chkprintcap_flags=-d
  379. + dumpdev=NO
  380. + dumpdir=/var/crash
  381. + savecore_flags=''
  382. + crashinfo_enable=YES
  383. + crashinfo_program=/usr/sbin/crashinfo
  384. + quota_enable=NO
  385. + check_quotas=YES
  386. + quotaon_flags=-a
  387. + quotaoff_flags=-a
  388. + quotacheck_flags=-a
  389. + accounting_enable=NO
  390. + ibcs2_enable=NO
  391. + ibcs2_loaders=coff
  392. + sysvipc_enable=NO
  393. + linux_enable=NO
  394. + svr4_enable=NO
  395. + clear_tmp_enable=NO
  396. + clear_tmp_X=YES
  397. + ldconfig_insecure=NO
  398. + ldconfig_paths='/usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg'
  399. + ldconfig32_paths=/usr/lib32
  400. + ldconfig_paths_aout='/usr/lib/compat/aout /usr/local/lib/aout'
  401. + ldconfig_local_dirs=/usr/local/libdata/ldconfig
  402. + ldconfig_local32_dirs=/usr/local/libdata/ldconfig32
  403. + kern_securelevel_enable=NO
  404. + kern_securelevel=-1
  405. + update_motd=YES
  406. + entropy_file=/entropy
  407. + entropy_dir=/var/db/entropy
  408. + entropy_save_sz=2048
  409. + entropy_save_num=8
  410. + harvest_interrupt=YES
  411. + harvest_ethernet=YES
  412. + harvest_p_to_p=YES
  413. + dmesg_enable=YES
  414. + watchdogd_enable=NO
  415. + watchdogd_flags=''
  416. + devfs_rulesets='/etc/defaults/devfs.rules /etc/devfs.rules'
  417. + devfs_system_ruleset=''
  418. + devfs_set_rulesets=''
  419. + performance_cx_lowest=HIGH
  420. + performance_cpu_freq=NONE
  421. + economy_cx_lowest=HIGH
  422. + economy_cpu_freq=NONE
  423. + virecover_enable=YES
  424. + ugidfw_enable=NO
  425. + bsdextended_script=/etc/rc.bsdextended
  426. + newsyslog_enable=YES
  427. + newsyslog_flags=-CN
  428. + mixer_enable=YES
  429. + opensm_enable=NO
  430. + jail_enable=NO
  431. + jail_parallel_start=NO
  432. + jail_list=''
  433. + jail_set_hostname_allow=YES
  434. + jail_socket_unixiproute_only=YES
  435. + jail_sysvipc_allow=NO
  436. + [ -z '' ]
  437. + source_rc_confs_defined=yes
  438. + source_rc_confs
  439. + local i sourced_files
  440. + sourced_files=:/etc/rc.conf:
  441. + [ -r /etc/rc.conf ]
  442. + . /etc/rc.conf
  443. + hostname=casa
  444. + ifconfig_bfe0=DHCP
  445. + sshd_enable=YES
  446. + moused_enable=YES
  447. + ntpd_enable=YES
  448. + dumpdev=AUTO
  449. + keymap=spanish.iso15.acc.kbd
  450. + keyrate=fast
  451. + font8x16=iso15-8x16
  452. + font8x14=iso15-8x14
  453. + font8x8=iso15-8x8
  454. + clamav_freshclam_enable=YES
  455. + clamav_clamd_enable=YES
  456. + hald_enable=YES
  457. + dbus_enable=YES
  458. + webcamd_enable=YES
  459. + fusefs_enable=YES
  460. + sourced_files=:/etc/rc.conf::/etc/rc.conf.local:
  461. + [ -r /etc/rc.conf.local ]
  462. + _rc_conf_loaded=true
  463. + [ -f /etc/rc.conf.d/bluetooth ]
  464. + hccontrol=/usr/sbin/hccontrol
  465. + hcseriald=/usr/sbin/hcseriald
  466. + run_rc_command start ubt0
  467. + _return=0
  468. + rc_arg=start
  469. + [ -z bluetooth ]
  470. + shift 1
  471. + rc_extra_args=ubt0
  472. + _rc_prefix=''
  473. + eval '_override_command=$bluetooth_program'
  474. + _override_command=''
  475. + command=''
  476. + _keywords='start stop restart rcvar '
  477. + rc_pid=''
  478. + _pidcmd=''
  479. + _procname=''
  480. + [ -n '' ]
  481. + [ -z start ]
  482. + [ -n '' ]
  483. + eval 'rc_flags=$bluetooth_flags'
  484. + rc_flags=''
  485. + eval '_chdir=$bluetooth_chdir' '_chroot=$bluetooth_chroot' '_nice=$bluetooth_nice' '_user=$bluetooth_user' '_group=$bluetooth_group' '_groups=$bluetooth_groups'
  486. + _chdir='' _chroot='' _nice='' _user='' _group='' _groups=''
  487. + [ -n '' ]
  488. + eval
  489. + [ start != start ]
  490. + [ -n '' -a start != rcvar -a start != stop ]
  491. + [ -n '' -a start = stop -a -z '' ]
  492. + eval '_cmd=$start_cmd' '_precmd=$start_precmd' '_postcmd=$start_postcmd'
  493. + _cmd=bluetooth_start _precmd='' _postcmd=''
  494. + [ -n bluetooth_start ]
  495. + _run_rc_precmd
  496. + check_required_before start
  497. + local _f
  498. + return 0
  499. + [ -n '' ]
  500. + check_required_after start
  501. + local _f _args
  502. + _args=ng_bluetooth
  503. + load_kld ng_bluetooth
  504. + local _loaded _mod _opt _re
  505. + getopts e:m: _opt
  506. + shift 0
  507. + [ 1 -ne 1 ]
  508. + _mod=ng_bluetooth
  509. + _loaded=false
  510. + [ -n '' ]
  511. + kldstat -q -m ng_bluetooth
  512. + _loaded=true
  513. + true
  514. + debug 'load_kld: ng_bluetooth kernel module already loaded.'
  515. + return 0
  516. + _args=ng_hci
  517. + load_kld ng_hci
  518. + local _loaded _mod _opt _re
  519. + getopts e:m: _opt
  520. + shift 0
  521. + [ 1 -ne 1 ]
  522. + _mod=ng_hci
  523. + _loaded=false
  524. + [ -n '' ]
  525. + kldstat -q -m ng_hci
  526. + _loaded=true
  527. + true
  528. + debug 'load_kld: ng_hci kernel module already loaded.'
  529. + return 0
  530. + _args=ng_l2cap
  531. + load_kld ng_l2cap
  532. + local _loaded _mod _opt _re
  533. + getopts e:m: _opt
  534. + shift 0
  535. + [ 1 -ne 1 ]
  536. + _mod=ng_l2cap
  537. + _loaded=false
  538. + [ -n '' ]
  539. + kldstat -q -m ng_l2cap
  540. + _loaded=true
  541. + true
  542. + debug 'load_kld: ng_l2cap kernel module already loaded.'
  543. + return 0
  544. + _args=ng_btsocket
  545. + load_kld ng_btsocket
  546. + local _loaded _mod _opt _re
  547. + getopts e:m: _opt
  548. + shift 0
  549. + [ 1 -ne 1 ]
  550. + _mod=ng_btsocket
  551. + _loaded=false
  552. + [ -n '' ]
  553. + kldstat -q -m ng_btsocket
  554. + _loaded=true
  555. + true
  556. + debug 'load_kld: ng_btsocket kernel module already loaded.'
  557. + return 0
  558. + return 0
  559. + return 0
  560. + _run_rc_doit 'bluetooth_start ubt0'
  561. + debug 'run_rc_command: doit: bluetooth_start ubt0'
  562. + eval 'bluetooth_start ubt0'
  563. + bluetooth_start ubt0
  564. + local _file
  565. + dev=ubt0
  566. + hook=hook
  567. + expr ubt0 : 'ubt\([0-9]\{1,\}\)'
  568. + unit=0
  569. + [ -z 0 ]
  570. + bluetooth_device_authentication_enable=0
  571. + bluetooth_device_class=ff:01:0c
  572. + bluetooth_device_connectable=1
  573. + bluetooth_device_discoverable=1
  574. + bluetooth_device_encryption_mode=0
  575. + bluetooth_device_hci_debug_level=3
  576. + bluetooth_device_l2cap_debug_level=3
  577. + /usr/bin/uname -n
  578. + bluetooth_device_local_name='casa (ubt0)'
  579. + bluetooth_device_role_switch=1
  580. + _file=/etc/defaults/bluetooth.device.conf
  581. + bluetooth_read_conf /etc/defaults/bluetooth.device.conf bluetooth_device_
  582. + local _err _file _line _namespace
  583. + _file=/etc/defaults/bluetooth.device.conf
  584. + _namespace=bluetooth_device_
  585. + _err=0
  586. + [ ! -e /etc/defaults/bluetooth.device.conf ]
  587. + [ ! -f /etc/defaults/bluetooth.device.conf -o ! -r /etc/defaults/bluetooth.device.conf ]
  588. + read _line
  589. + continue
  590. + read _line
  591. + continue
  592. + read _line
  593. + continue
  594. + read _line
  595. + continue
  596. + read _line
  597. + continue
  598. + read _line
  599. + continue
  600. + read _line
  601. + continue
  602. + read _line
  603. + continue
  604. + read _line
  605. + continue
  606. + read _line
  607. + continue
  608. + read _line
  609. + continue
  610. + read _line
  611. + continue
  612. + read _line
  613. + continue
  614. + read _line
  615. + continue
  616. + read _line
  617. + continue
  618. + read _line
  619. + continue
  620. + read _line
  621. + continue
  622. + read _line
  623. + continue
  624. + read _line
  625. + continue
  626. + read _line
  627. + continue
  628. + read _line
  629. + continue
  630. + read _line
  631. + continue
  632. + read _line
  633. + continue
  634. + read _line
  635. + continue
  636. + read _line
  637. + continue
  638. + read _line
  639. + [ -z '' ]
  640. + continue
  641. + read _line
  642. + continue
  643. + read _line
  644. + continue
  645. + read _line
  646. + continue
  647. + read _line
  648. + continue
  649. + read _line
  650. + continue
  651. + read _line
  652. + continue
  653. + read _line
  654. + continue
  655. + read _line
  656. + continue
  657. + read _line
  658. + continue
  659. + read _line
  660. + [ -z '' ]
  661. + continue
  662. + read _line
  663. + continue
  664. + read _line
  665. + [ -z '' ]
  666. + continue
  667. + read _line
  668. + continue
  669. + read _line
  670. + continue
  671. + read _line
  672. + continue
  673. + read _line
  674. + continue
  675. + read _line
  676. + continue
  677. + read _line
  678. + continue
  679. + read _line
  680. + continue
  681. + read _line
  682. + continue
  683. + read _line
  684. + [ -z '' ]
  685. + continue
  686. + read _line
  687. + continue
  688. + read _line
  689. + [ -z '' ]
  690. + continue
  691. + read _line
  692. + continue
  693. + read _line
  694. + continue
  695. + read _line
  696. + continue
  697. + read _line
  698. + continue
  699. + read _line
  700. + continue
  701. + read _line
  702. + continue
  703. + read _line
  704. + continue
  705. + read _line
  706. + [ -z '' ]
  707. + continue
  708. + read _line
  709. + continue
  710. + read _line
  711. + [ -z '' ]
  712. + continue
  713. + read _line
  714. + continue
  715. + read _line
  716. + continue
  717. + read _line
  718. + continue
  719. + read _line
  720. + continue
  721. + read _line
  722. + continue
  723. + read _line
  724. + continue
  725. + read _line
  726. + continue
  727. + read _line
  728. + [ -z '' ]
  729. + continue
  730. + read _line
  731. + continue
  732. + read _line
  733. + [ -z '' ]
  734. + continue
  735. + read _line
  736. + continue
  737. + read _line
  738. + continue
  739. + read _line
  740. + continue
  741. + read _line
  742. + continue
  743. + read _line
  744. + continue
  745. + read _line
  746. + continue
  747. + read _line
  748. + continue
  749. + read _line
  750. + continue
  751. + read _line
  752. + continue
  753. + read _line
  754. + continue
  755. + read _line
  756. + [ -z '' ]
  757. + continue
  758. + read _line
  759. + continue
  760. + read _line
  761. + [ -z '' ]
  762. + continue
  763. + read _line
  764. + continue
  765. + read _line
  766. + continue
  767. + read _line
  768. + continue
  769. + read _line
  770. + [ -z '' ]
  771. + continue
  772. + read _line
  773. + continue
  774. + read _line
  775. + [ -z '' ]
  776. + continue
  777. + read _line
  778. + continue
  779. + read _line
  780. + continue
  781. + read _line
  782. + continue
  783. + read _line
  784. + [ -z '' ]
  785. + continue
  786. + read _line
  787. + continue
  788. + read _line
  789. + [ -z '' ]
  790. + continue
  791. + read _line
  792. + continue
  793. + read _line
  794. + continue
  795. + read _line
  796. + [ -z '' ]
  797. + continue
  798. + read _line
  799. + continue
  800. + read _line
  801. + [ -z '' ]
  802. + continue
  803. + read _line
  804. + continue
  805. + read _line
  806. + continue
  807. + read _line
  808. + continue
  809. + read _line
  810. + continue
  811. + read _line
  812. + continue
  813. + read _line
  814. + continue
  815. + read _line
  816. + continue
  817. + read _line
  818. + continue
  819. + read _line
  820. + continue
  821. + read _line
  822. + [ -z '' ]
  823. + continue
  824. + read _line
  825. + continue
  826. + read _line
  827. + [ -z '' ]
  828. + continue
  829. + read _line
  830. + return 0
  831. + _file=/etc/bluetooth/ubt0.conf
  832. + bluetooth_read_conf /etc/bluetooth/ubt0.conf bluetooth_device_
  833. + local _err _file _line _namespace
  834. + _file=/etc/bluetooth/ubt0.conf
  835. + _namespace=bluetooth_device_
  836. + _err=0
  837. + [ ! -e /etc/bluetooth/ubt0.conf ]
  838. + return 0
  839. + bluetooth_setup_stack ubt0 hook
  840. + dev=ubt0
  841. + shift
  842. + hook=hook
  843. + shift
  844. + ngctl mkpeer ubt0: hci hook drv
  845. + ngctl name ubt0:hook ubt0hci
  846. + ngctl msg ubt0hci: set_debug 3
  847. + ngctl mkpeer ubt0hci: l2cap acl hci
  848. + ngctl name ubt0hci:acl ubt0l2cap
  849. + ngctl msg ubt0l2cap: set_debug 3
  850. + ngctl connect ubt0hci: btsock_hci_raw: raw ubt0raw
  851. + ngctl connect ubt0l2cap: btsock_l2c_raw: ctl ubt0ctl
  852. + ngctl connect ubt0l2cap: btsock_l2c: l2c ubt0l2c
  853. + /usr/sbin/hccontrol -n ubt0hci reset
  854. + /usr/sbin/hccontrol -n ubt0hci read_bd_addr
  855. + /usr/sbin/hccontrol -n ubt0hci read_local_supported_features
  856. + /usr/sbin/hccontrol -n ubt0hci read_buffer_size
  857. + checkyesno bluetooth_device_discoverable
  858. + eval '_value=$bluetooth_device_discoverable'
  859. + _value=1
  860. + debug 'checkyesno: bluetooth_device_discoverable is set to 1.'
  861. + return 0
  862. + checkyesno bluetooth_device_connectable
  863. + eval '_value=$bluetooth_device_connectable'
  864. + _value=1
  865. + debug 'checkyesno: bluetooth_device_connectable is set to 1.'
  866. + return 0
  867. + /usr/sbin/hccontrol -n ubt0hci write_scan_enable 3
  868. + /usr/sbin/hccontrol -n ubt0hci write_class_of_device ff:01:0c
  869. + checkyesno bluetooth_device_authentication_enable
  870. + eval '_value=$bluetooth_device_authentication_enable'
  871. + _value=0
  872. + debug 'checkyesno: bluetooth_device_authentication_enable is set to 0.'
  873. + return 1
  874. + /usr/sbin/hccontrol -n ubt0hci write_authentication_enable 0
  875. + /usr/sbin/hccontrol -n ubt0hci write_encryption_mode 0
  876. + checkyesno bluetooth_device_role_switch
  877. + eval '_value=$bluetooth_device_role_switch'
  878. + _value=1
  879. + debug 'checkyesno: bluetooth_device_role_switch is set to 1.'
  880. + return 0
  881. + /usr/sbin/hccontrol -n ubt0hci write_node_role_switch 1
  882. + /usr/sbin/hccontrol -n ubt0hci change_local_name 'casa (ubt0)'
  883. + /usr/sbin/hccontrol -n ubt0hci initialize
  884. + return 0
  885. + return 0
  886. + _return=0
  887. + [ 0 -ne 0 ]
  888. + return 0
  889. + _run_rc_postcmd
  890. + [ -n '' ]
  891. + return 0
  892. + return 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement