diff options
Diffstat (limited to 'configs/profile-openrc/root-image/etc/init.d')
-rwxr-xr-x | configs/profile-openrc/root-image/etc/init.d/pacman-init | 9 |
1 files changed, 5 insertions, 4 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 index ccc884c..b610683 100755 --- a/configs/profile-openrc/root-image/etc/init.d/pacman-init +++ b/configs/profile-openrc/root-image/etc/init.d/pacman-init @@ -1,23 +1,24 @@ #!/usr/bin/openrc-run # Copyright (C) 2017 Parabola Project -# Copyright 2013-2017 Gentoo Foundation +# Copyright (C) Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 description="Initializes Pacman keyring" depend() { use haveged - after 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 --init &> /dev/null && pacman-key --populate archlinux parabola &> /dev/null else - ebegin "Pacman Keyring already started" + ebegin "Pacman keyring already started" fi } |