#!/sbin/runscript # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ depend() { need dbus localmount hostname } start() { ebegin "Starting bluetoothd" start-stop-daemon --start --background --make-pidfile \ --pidfile /var/run/bluetoothd.pid --exec /usr/sbin/bluetoothd -- -n eend $? } stop() { ebegin "Stopping bluetoothd" start-stop-daemon --stop --pidfile /var/run/bluetoothd.pid eend $? }