#!/bin/sh /etc/rc.common
# Copyright (C) 2007 OpenWrt.org
-START=60
+#start after dbus (60)
+START=62
append_bool() {
local section="$1"
append_bool "$cfg" msdun "--msdun"
append_bool "$cfg" activesync "--activesync"
append_bool "$cfg" cache "--cache"
+
+ append_string "$cfg" pppdopts ""
config_get_bool enabled "$cfg" "enabled" '1'
[ "$enabled" -gt 0 ] && /usr/bin/dund $args
}
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() {