From: Frank Brehm Date: Wed, 11 Oct 2017 00:00:41 +0000 (+0200) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=c728013401326038328b94e55e0eb68accf1dfcd;p=config%2Fbruni%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/bluetooth/main.conf b/bluetooth/main.conf index d9cd9e0c..ba17405c 100644 --- a/bluetooth/main.conf +++ b/bluetooth/main.conf @@ -1,6 +1,6 @@ [General] -# Default adaper name +# Default adapter name # Defaults to 'BlueZ X.YZ' #Name = BlueZ @@ -71,7 +71,19 @@ # Defaults to "off" # Privacy = off -#[Policy] +[GATT] +# GATT attribute cache. +# Possible values: +# always: Always cache attributes even for devices not paired, this is +# recommended as it is best for interoperability, with more consistent +# reconnection times and enables proper tracking of notifications for all +# devices. +# yes: Only cache attributes of paired devices. +# no: Never cache attributes +# Default: always +#Cache = always + +[Policy] # # The ReconnectUUIDs defines the set of remote services that should try # to be reconnected to in case of a link loss (link supervision diff --git a/init.d/bluetooth b/init.d/bluetooth index b54f47d1..97cf5000 100755 --- a/init.d/bluetooth +++ b/init.d/bluetooth @@ -1,20 +1,12 @@ #!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +pidfile="/run/bluetoothd.pid" +command="/usr/libexec/bluetooth/bluetoothd" +command_background=1 + 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 $? -}