summaryrefslogtreecommitdiff
path: root/configs/lxde-openrc/airootfs/etc/init.d/pacman-init
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-01-18 03:11:31 -0300
committerDavid P <megver83@parabola.nu>2020-01-18 03:13:09 -0300
commitc4819c5db83925f906c2a273f92248b84cb5815f (patch)
treee70d460d6f5b3a2bc6e6e0c5b43d1156e6ffcc16 /configs/lxde-openrc/airootfs/etc/init.d/pacman-init
parent46b2347d51ea780be0524aed8a05f8312fbabc95 (diff)
openrc configs: replace pacman-init initscript with a local.d script
and remove haveged from pkglist Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/lxde-openrc/airootfs/etc/init.d/pacman-init')
-rwxr-xr-xconfigs/lxde-openrc/airootfs/etc/init.d/pacman-init30
1 files changed, 0 insertions, 30 deletions
diff --git a/configs/lxde-openrc/airootfs/etc/init.d/pacman-init b/configs/lxde-openrc/airootfs/etc/init.d/pacman-init
deleted file mode 100755
index b646e52..0000000
--- a/configs/lxde-openrc/airootfs/etc/init.d/pacman-init
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/openrc-run
-# Copyright (C) 2018 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
- if [ ! -d /etc/pacman.d/gnupg ]; then
- ebegin "Initializing Pacman keyring"
- pacman-key --init &> /dev/null &&
- pacman-key --populate ${KEYS} &> /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
-}