From 085d0a39a0d9f5fd465c964621f2f0f83055aebf Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 25 Nov 2022 14:45:46 +0100 Subject: [PATCH] change check to localectl instead of loadkeys --- usr/bin/archboot-km.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-km.sh b/usr/bin/archboot-km.sh index 6aa9629fb..7bf619d5c 100755 --- a/usr/bin/archboot-km.sh +++ b/usr/bin/archboot-km.sh @@ -130,8 +130,8 @@ if [[ ! -d ${BASEDIR}/consolefonts ]]; then echo "Cannot load consolefonts, as none were found in ${BASEDIR}/consolefonts" >&2 fi -if [[ ! $(which loadkeys) ]]; then - echo "'loadkeys' binary not found!" >&2 +if [[ ! $(which localectl) ]]; then + echo "'localectl' binary not found!" >&2 exit 1 fi