diff options
author | David P <megver83@parabola.nu> | 2020-01-18 03:11:31 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-01-18 03:13:09 -0300 |
commit | c4819c5db83925f906c2a273f92248b84cb5815f (patch) | |
tree | e70d460d6f5b3a2bc6e6e0c5b43d1156e6ffcc16 /configs/lxde-openrc/airootfs/etc/init.d/pacman-init | |
parent | 46b2347d51ea780be0524aed8a05f8312fbabc95 (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-x | configs/lxde-openrc/airootfs/etc/init.d/pacman-init | 30 |
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 -} |