From: Harald Hoyer Date: Fri, 27 Jul 2012 12:11:22 +0000 (+0200) Subject: i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init X-Git-Tag: 023~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=852105dc44d4bdfda8d988146f08f4a60bce979c;p=thirdparty%2Fdracut.git i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init --- diff --git a/modules.d/10i18n/console_init.sh b/modules.d/10i18n/console_init.sh index 37efdd1db..24eaad8e1 100755 --- a/modules.d/10i18n/console_init.sh +++ b/modules.d/10i18n/console_init.sh @@ -2,7 +2,11 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh -[ -x /lib/systemd/systemd-vconsole-setup ] && exit 0 +[ -x /lib/systemd/systemd ] && exit 0 + +if [ -x /lib/systemd/systemd-vconsole-setup ]; then + /lib/systemd/systemd-vconsole-setup "$@" +fi [ -e /etc/vconsole.conf ] && . /etc/vconsole.conf