summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs')
-rw-r--r--initramfs/distro-specs/gentoo/functions-default13
1 files changed, 6 insertions, 7 deletions
diff --git a/initramfs/distro-specs/gentoo/functions-default b/initramfs/distro-specs/gentoo/functions-default
index 6872178a..488879fd 100644
--- a/initramfs/distro-specs/gentoo/functions-default
+++ b/initramfs/distro-specs/gentoo/functions-default
@@ -22,13 +22,6 @@ echo -e "# changes made to this file by $0 (initramfs from $date)" \
> /etc/rc.conf
# keytable is set by hwautocfg script (added just for convenience here)
config_rc_entry "KEYMAP" "${KEYTABLE}" "conf.d/keymaps"
-
-# setting the path for kdmrc-file
-# FIXME: hack - there is no other way in gentoo?!?
-# FIXME: only if user wants kdm...
-sed -e 's,\(save_options .*\)"$,\1 -- -config /var/lib/openslx/themes/displaymanager/kdmrc",g'\
- -i /mnt/etc/init.d/xdm
-
}
# udev service - not verified!
@@ -304,6 +297,12 @@ kdmrcdir=/var/lib/openslx/themes/displaymanager/
xdmdir=/etc/X11/xdm
testmkd /mnt/${kdmrcdir}
+# setting the path for kdmrc-file
+# FIXME: hack - there is no other way in gentoo?!?
+# FIXME: only if user wants kdm...
+sed -e 's,\(save_options .*\)"$,\1 -- -config /var/lib/openslx/themes/displaymanager/kdmrc",g'\
+ -i /mnt/etc/init.d/xdm
+
# write configuration file - NOT using general config in /etc/functions
##config_kdm_template