summaryrefslogtreecommitdiff
path: root/pcr/udisks2-openrc
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/udisks2-openrc')
-rw-r--r--pcr/udisks2-openrc/PKGBUILD20
-rwxr-xr-xpcr/udisks2-openrc/udisks2.initd9
2 files changed, 29 insertions, 0 deletions
diff --git a/pcr/udisks2-openrc/PKGBUILD b/pcr/udisks2-openrc/PKGBUILD
new file mode 100644
index 000000000..d9861b178
--- /dev/null
+++ b/pcr/udisks2-openrc/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=udisks2-openrc
+pkgver=20170511
+pkgrel=1
+pkgdesc="OpenRC udisks2 init script"
+arch=(any)
+url="https://www.parabola.nu"
+license=('GPL2')
+depends=('udisks2' 'openrc')
+source=("udisks2.initd")
+md5sums=('9add7dad78d93cbe2fcf4582cc7ce069')
+
+pkgver() {
+ date +%Y%m%d
+}
+
+package() {
+ install -Dm755 udisks2.initd $pkgdir/etc/init.d/udisks2
+}
diff --git a/pcr/udisks2-openrc/udisks2.initd b/pcr/udisks2-openrc/udisks2.initd
new file mode 100755
index 000000000..e597d2bc2
--- /dev/null
+++ b/pcr/udisks2-openrc/udisks2.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+#
+# This is an unofficial udisks2 OpenRC init script made by Megver83
+
+description="Disk Manager"
+command=/usr/lib/udisks2/udisksd
+pidfile=/run/udisks2.pid