summaryrefslogtreecommitdiff
path: root/configs/profile-openrc/root-image/etc/init.d/pacman-init
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-05-16 21:08:49 -0400
committerDavid P <megver83@parabola.nu>2018-05-16 21:27:46 -0400
commit765756ae126d57735c22d59a7c1242f01443921e (patch)
treec5d5f3e7979f5a0098e7294d1e8dbae3aa71c562 /configs/profile-openrc/root-image/etc/init.d/pacman-init
parentff5f93347993bfdb6c58746baee006dbad7a3dd8 (diff)
modify entire source according to archiso32
and remove unused configs/talkingparabola-X11 Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/profile-openrc/root-image/etc/init.d/pacman-init')
-rwxr-xr-xconfigs/profile-openrc/root-image/etc/init.d/pacman-init31
1 files changed, 0 insertions, 31 deletions
diff --git a/configs/profile-openrc/root-image/etc/init.d/pacman-init b/configs/profile-openrc/root-image/etc/init.d/pacman-init
deleted file mode 100755
index b610683..0000000
--- a/configs/profile-openrc/root-image/etc/init.d/pacman-init
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/openrc-run
-# Copyright (C) 2017 Parabola Project
-# Copyright (C) Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Initializes Pacman keyring"
-
-depend() {
- use haveged
- after haveged
-}
-
-start() {
- # Check that there's no keyring, if there isn't, create one
- # in the background for a faster boot
- if [ ! -d /etc/pacman.d/gnupg ]; then
- ebegin "Starting Pacman keyring"
- pacman-key --init &> /dev/null &&
- pacman-key --populate archlinux parabola &> /dev/null
- else
- ebegin "Pacman keyring already started"
- fi
-}
-
-stop() {
- # If there's a keyring, delete it
- if [ -d /etc/pacman.d/gnupg ]; then
- ebegin "Stoping Pacman keyring"
- rm -rf /etc/pacman.d/gnupg
- fi
-}