summaryrefslogtreecommitdiff
path: root/configs/mate-openrc/root-image/etc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/mate-openrc/root-image/etc')
-rw-r--r--configs/mate-openrc/root-image/etc/conf.d/agetty.tty1 (renamed from configs/mate-openrc/root-image/etc/conf.d/agetty)5
-rw-r--r--configs/mate-openrc/root-image/etc/hostname1
-rwxr-xr-xconfigs/mate-openrc/root-image/etc/init.d/pacman-init31
-rw-r--r--configs/mate-openrc/root-image/etc/wallpaper.pngbin831159 -> 842326 bytes
4 files changed, 35 insertions, 2 deletions
diff --git a/configs/mate-openrc/root-image/etc/conf.d/agetty b/configs/mate-openrc/root-image/etc/conf.d/agetty.tty1
index 5e9b663..b7ff06d 100644
--- a/configs/mate-openrc/root-image/etc/conf.d/agetty
+++ b/configs/mate-openrc/root-image/etc/conf.d/agetty.tty1
@@ -5,4 +5,7 @@ baud="38400"
term_type="linux"
# extra options to pass to agetty for this port
-agetty_options="--autologin root --noclear %I"
+agetty_options="--autologin root --noclear"
+
+# make agetty quiet
+#quiet="no"
diff --git a/configs/mate-openrc/root-image/etc/hostname b/configs/mate-openrc/root-image/etc/hostname
deleted file mode 100644
index 8aaf41b..0000000
--- a/configs/mate-openrc/root-image/etc/hostname
+++ /dev/null
@@ -1 +0,0 @@
-parabolaiso
diff --git a/configs/mate-openrc/root-image/etc/init.d/pacman-init b/configs/mate-openrc/root-image/etc/init.d/pacman-init
new file mode 100755
index 0000000..b610683
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/init.d/pacman-init
@@ -0,0 +1,31 @@
+#!/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
+}
diff --git a/configs/mate-openrc/root-image/etc/wallpaper.png b/configs/mate-openrc/root-image/etc/wallpaper.png
index 16b906a..d74092f 100644
--- a/configs/mate-openrc/root-image/etc/wallpaper.png
+++ b/configs/mate-openrc/root-image/etc/wallpaper.png
Binary files differ