summaryrefslogtreecommitdiff
path: root/modules.d/10i18n
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-06 16:20:25 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-06 17:22:09 +0100
commitb5859d6359267fd0890b4f4050f706bbf5cd29d9 (patch)
treeed647ea85076c8888b57862fd4825405f0fffec9 /modules.d/10i18n
parentdbfaae0e34507d2d1f3c186ffe26af3e8028b9f8 (diff)
downloaddracut-b5859d6359267fd0890b4f4050f706bbf5cd29d9.tar.gz
dracut-b5859d6359267fd0890b4f4050f706bbf5cd29d9.tar.bz2
dracut-b5859d6359267fd0890b4f4050f706bbf5cd29d9.zip
i18n: no manual setup needed if systemd is in the game
Diffstat (limited to 'modules.d/10i18n')
-rwxr-xr-xmodules.d/10i18n/module-setup.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh
index 1ed1db68..469e4524 100755
--- a/modules.d/10i18n/module-setup.sh
+++ b/modules.d/10i18n/module-setup.sh
@@ -86,9 +86,11 @@ install() {
install_base() {
dracut_install setfont loadkeys kbd_mode stty
- inst ${moddir}/console_init.sh /lib/udev/console_init
- inst_rules ${moddir}/10-console.rules
- inst_hook cmdline 20 "${moddir}/parse-i18n.sh"
+ if ! dracut_module_included "systemd"; then
+ inst ${moddir}/console_init.sh /lib/udev/console_init
+ inst_rules ${moddir}/10-console.rules
+ inst_hook cmdline 20 "${moddir}/parse-i18n.sh"
+ fi
}
install_all_kbd() {