From 530ccd88b8ea65e55ac57435068dd8d87140bc26 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Thu, 22 Mar 2007 13:52:35 +0000 Subject: kdmrc-Correction for gentoos functions-default git-svn-id: http://svn.openslx.org/svn/openslx/trunk@796 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/gentoo/functions-default | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/initramfs/distro-specs/gentoo/functions-default b/initramfs/distro-specs/gentoo/functions-default index ab4bfb2e..6872178a 100644 --- a/initramfs/distro-specs/gentoo/functions-default +++ b/initramfs/distro-specs/gentoo/functions-default @@ -22,6 +22,13 @@ 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! -- cgit v1.2.3-55-g7522