From b61484021317faa26bdf565d7ce0c8b078099d58 Mon Sep 17 00:00:00 2001 From: "Gerd v. Egidy" Date: Sun, 10 Apr 2022 21:56:01 +0200 Subject: [PATCH] store the "setkmap" command in bash_history to make it accessible without typing When the correct keyboard map is not set yet, it might be difficult for the user to type in the command. This way they just have to press the arrow up key to reach it. Fixes #273 --- airootfs/etc/issue | 2 +- airootfs/root/.bash_history | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 airootfs/root/.bash_history diff --git a/airootfs/etc/issue b/airootfs/etc/issue index 360296e..feed99a 100644 --- a/airootfs/etc/issue +++ b/airootfs/etc/issue @@ -2,7 +2,7 @@ \e[00;31mhttps://www.system-rescue.org/ \e[00;31m*\e[01;31m Console environment\e[00;37m : - Run \e[01;37msetkmap\e[00;37m to choose the keyboard layout + Run \e[01;37msetkmap\e[00;37m to choose the keyboard layout (also accessible with the arrow up key) Run \e[01;37mmanual\e[00;37m to read the documentation of SystemRescue \e[00;31m*\e[01;31m Graphical environment\e[00;37m : diff --git a/airootfs/root/.bash_history b/airootfs/root/.bash_history new file mode 100644 index 0000000..006a003 --- /dev/null +++ b/airootfs/root/.bash_history @@ -0,0 +1 @@ +setkmap