aboutsummaryrefslogtreecommitdiff
path: root/utils/bluez/files/bluetoothd.init
blob: 8c548bcdbff03f51155702bdfb10856cdc9abb02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh /etc/rc.common
# Copyright (C) 2007 OpenWrt.org

#start after dbus (60)
START=62
USE_PROCD=1
PROG=/usr/bin/bluetoothd

start_service() {
	ln -snf /etc/bluetooth/keys/ /var/lib/bluetooth
	procd_open_instance
	procd_set_param command "$PROG" -n
	procd_close_instance
}