]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init
authorHarald Hoyer <harald@redhat.com>
Fri, 27 Jul 2012 12:11:22 +0000 (14:11 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 27 Jul 2012 12:11:22 +0000 (14:11 +0200)
modules.d/10i18n/console_init.sh

index 37efdd1db2348c705eed19751c4c5e1019189005..24eaad8e11dec152f03e5b1e8f189f842bd21a34 100755 (executable)
@@ -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