summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
authorMichael Janczyk2007-03-22 14:52:35 +0100
committerMichael Janczyk2007-03-22 14:52:35 +0100
commit530ccd88b8ea65e55ac57435068dd8d87140bc26 (patch)
tree29b35fe23cf28260dc3212a8ee81f12bb2f21022 /initramfs
parentadded Gentoo-specific services (needs autofs-support in kernel) + kdmrc-file (diff)
downloadcore-530ccd88b8ea65e55ac57435068dd8d87140bc26.tar.gz
core-530ccd88b8ea65e55ac57435068dd8d87140bc26.tar.xz
core-530ccd88b8ea65e55ac57435068dd8d87140bc26.zip
kdmrc-Correction for gentoos functions-default
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@796 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs')
-rw-r--r--initramfs/distro-specs/gentoo/functions-default7
1 files changed, 7 insertions, 0 deletions
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!