#!/bin/dash
# james note: 2019 - we disable this by default since
# in FD 800 we don't have a bluetooth-applet yet

return 0

MAXWAIT=20
if [ -x /etc/init.d/85-bluetooth ]; then
	while ! pidof bluetoothd && [ $MAXWAIT -gt 0 ] ; do
		sleep 1
		MAXWAIT=$(( $MAXWAIT - 1))
	done
	if pidof bluetoothd; then
		exec bluetooth-applet
	fi
fi
