summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dracut.conf.d/fedora.conf8
-rw-r--r--dracut.conf.d/fedora.conf.example6
2 files changed, 6 insertions, 8 deletions
diff --git a/dracut.conf.d/fedora.conf b/dracut.conf.d/fedora.conf
deleted file mode 100644
index 2d40d645..00000000
--- a/dracut.conf.d/fedora.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-# /etc/dracut.conf.d/redhat.conf
-# Dracut config file customized for RedHat/Fedora.
-
-if [[ -f /etc/fedora-release ]] || [[ -f /etc/redhat-release ]]; then
- # i18n
- keyboard_vars="/etc/sysconfig/keyboard:KEYTABLE-KEYMAP"
- i18n_vars="/etc/sysconfig/i18n:SYSFONT,SYSFONTACM-CONTRANS,UNIMAP"
-fi
diff --git a/dracut.conf.d/fedora.conf.example b/dracut.conf.d/fedora.conf.example
new file mode 100644
index 00000000..38f42913
--- /dev/null
+++ b/dracut.conf.d/fedora.conf.example
@@ -0,0 +1,6 @@
+# /etc/dracut.conf.d/redhat.conf
+# Dracut config file customized for RedHat/Fedora.
+
+# i18n
+keyboard_vars="/etc/sysconfig/keyboard:KEYTABLE-KEYMAP"
+i18n_vars="/etc/sysconfig/i18n:SYSFONT,SYSFONTACM-CONTRANS,UNIMAP"