#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2

description="Pacman initialization script"

depend() {
	use net
	need haveged gnupg-mount
}

start() {
	ebegin "Running pacman initialization"
	/usr/bin/pacman-key --init &> /dev/null
	/usr/bin/pacman-key --populate artix &> /dev/null
	eend $?
}
