diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-06 16:20:25 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-06 17:22:09 +0100 |
commit | b5859d6359267fd0890b4f4050f706bbf5cd29d9 (patch) | |
tree | ed647ea85076c8888b57862fd4825405f0fffec9 /modules.d/10i18n | |
parent | dbfaae0e34507d2d1f3c186ffe26af3e8028b9f8 (diff) | |
download | dracut-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-x | modules.d/10i18n/module-setup.sh | 8 |
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() { |