From: Harald Hoyer Date: Mon, 26 Aug 2013 08:19:49 +0000 (+0200) Subject: i18n: check for setfont and loadkeys binaries X-Git-Tag: 033~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87bd8907a64991445af552740806d3949fc6d6ca;p=thirdparty%2Fdracut.git i18n: check for setfont and loadkeys binaries --- diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh index be9d90b49..2a8372804 100755 --- a/modules.d/10i18n/module-setup.sh +++ b/modules.d/10i18n/module-setup.sh @@ -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 }