diff options
-rw-r--r-- | nonsystemd/bluez-openrc/PKGBUILD | 19 | ||||
-rw-r--r-- | nonsystemd/bluez-openrc/bluetoothd.initd | 13 |
2 files changed, 32 insertions, 0 deletions
diff --git a/nonsystemd/bluez-openrc/PKGBUILD b/nonsystemd/bluez-openrc/PKGBUILD new file mode 100644 index 000000000..aacf01d2a --- /dev/null +++ b/nonsystemd/bluez-openrc/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: artoo <artoo@artixlinux.org> + +pkgname=bluez-openrc +pkgver=20210506 +pkgrel=1 +pkgdesc="OpenRC bluez init script" +arch=('any') +url="https://gitea.artixlinux.org/artixlinux/packages-openrc" +license=('GPL2') +groups=('openrc-world') +provides=('init-bluez') +depends=('bluez' 'openrc') +conflicts=('init-bluez') +source=("bluetoothd.initd") +sha256sums=('b99147767d339b0d6707bbd8cd4da51e795835b7519e7d6d2fcf70dabcaeeb9a') + +package() { + install -Dm755 "${srcdir}"/bluetoothd.initd "${pkgdir}"/etc/init.d/bluetoothd +} diff --git a/nonsystemd/bluez-openrc/bluetoothd.initd b/nonsystemd/bluez-openrc/bluetoothd.initd new file mode 100644 index 000000000..4d38cd22d --- /dev/null +++ b/nonsystemd/bluez-openrc/bluetoothd.initd @@ -0,0 +1,13 @@ +#!/usr/bin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +supervisor="supervise-daemon" +#pidfile="/run/bluetoothd.pid" +command="/usr/lib/bluetooth/bluetoothd" +#command_background=1 + +depend() { + after coldplug + need dbus localmount hostname +} |