i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init

master
Harald Hoyer 2012-07-27 14:11:22 +02:00
parent a7473ef379
commit 852105dc44
1 changed files with 5 additions and 1 deletions

View File

@ -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