From 22aa15dbead5de1e69703e70ee49611263344c9a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 18 Jun 2024 22:18:13 +0200 Subject: [PATCH] Apply default settings in the `archiso` environment --- archiso/airootfs/root/.zlogin | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/archiso/airootfs/root/.zlogin b/archiso/airootfs/root/.zlogin index bf6bc8f6..f003a1f6 100644 --- a/archiso/airootfs/root/.zlogin +++ b/archiso/airootfs/root/.zlogin @@ -4,3 +4,10 @@ if grep -Fqa 'accessibility=' /proc/cmdline &> /dev/null; then fi ~/.automated_script.sh + +if bash -c "ls /sys/class/backlight/*/max_brightness" > /dev/null 2>&1; +then + cat /sys/class/backlight/*/max_brightness > /sys/class/backlight/*/brightness +fi; + +loadkeys de_CH-latin1