From cc4623c15d825b179ac90eca5c7ec6af4b8e6d98 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 7 Nov 2022 23:20:05 +0100 Subject: [PATCH] Configure keyboard only once --- mods/live-installer/data/bin/login | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mods/live-installer/data/bin/login b/mods/live-installer/data/bin/login index 0fa9a2c..e892986 100755 --- a/mods/live-installer/data/bin/login +++ b/mods/live-installer/data/bin/login @@ -28,13 +28,15 @@ function wdvn-chroot-end { } CHOICE=1 + +dpkg-reconfigure keyboard-configuration +service console-setup.sh restart +udevadm trigger --subsystem-match=input --action=change +service keyboard-setup.sh restart + while true; do - dpkg-reconfigure keyboard-configuration - service console-setup.sh restart - udevadm trigger --subsystem-match=input --action=change - service keyboard-setup.sh restart clear - + echo "" echo "Welcome to windvn!" echo "1: Fast install" echo "2: Open bash"