blob: f97fdb2c7916f3851c8ef5949588137a2e4a0133 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/bluetooth-init.d-r3,v 1.2 2014/01/09 13:24:42 joker Exp $
depend() {
after coldplug
need dbus localmount hostname
}
start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start --background --exec /usr/libexec/bluetooth/bluetoothd
eend $?
}
stop() {
ebegin "Shutting down ${SVCNAME}"
start-stop-daemon --stop --quiet --exec /usr/libexec/bluetooth/bluetoothd
eend $?
}
|