]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
i18n: check for setfont and loadkeys binaries
authorHarald Hoyer <harald@redhat.com>
Mon, 26 Aug 2013 08:19:49 +0000 (10:19 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 26 Aug 2013 08:19:49 +0000 (10:19 +0200)
modules.d/10i18n/module-setup.sh

index be9d90b49fa37c7f58a74311a37eaa1ff6e7a28e..2a8372804cdff004bd51c2093afe41ab9a3c600d 100755 (executable)
@@ -4,6 +4,11 @@
 
 check() {
     [[ "$mount_needs" ]] && return 1
+
+    for i in setfont loadkeys kbd_mode; do
+        type -P "$i" >/dev/null || return 1
+    done
+
     return 0
 }