packages: Update bluez-hcidump, bluez-libs, and bluez-utils. Closes #3036, thanks...
[openwrt/svn-archive/archive.git] / utils / bluez-utils / files / bluez-utils.init
index bc778286210ff2277c09be4dd9c427c9509f2ad4..e105c9af246113c4a6dc7d621823b05f424bad3b 100644 (file)
@@ -1,7 +1,8 @@
 #!/bin/sh /etc/rc.common
 # Copyright (C) 2007 OpenWrt.org
 
-START=60
+#start after dbus (60)
+START=62
 
 append_bool() {
        local section="$1"
@@ -107,6 +108,16 @@ start() {
        config_foreach rfcomm_config rfcomm
        config_foreach dund_config dund
        config_foreach pand_config pand
+       
+        #start passkey agent
+        passkey-agent --default 1234&
+
+        hcitool hci0 up
+        rfcomm release 0
+
+        #set up serial conenction
+        #rfcomm connect /dev/rfcomm0 00:1D:E9:5B:92:8D&
+
 }
 
 stop() {