summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/bluetoothd/run
blob: 5b3e1bef812ab8b381cec069eb14af91b0bfa12d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# Start/stop the Bluetooth daemons
#

. /etc/rc.conf
. /etc/rc.d/functions

[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth

/usr/bin/svwaitup -s 15 /service/dbus || exit 1
stat_runit "Starting bluetooth subsystem:"

exec /usr/bin/bluetoothd -n >/dev/null