summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
authorMichael Janczyk2007-03-22 15:22:31 +0100
committerMichael Janczyk2007-03-22 15:22:31 +0100
commit6d0845b518821e4ba79d7e1e6b2b66699ccb1543 (patch)
treec5135ef633369a4de0199fefdcb0532588618b4c /initramfs
parentkdmrc-Correction for gentoos functions-default (diff)
downloadcore-6d0845b518821e4ba79d7e1e6b2b66699ccb1543.tar.gz
core-6d0845b518821e4ba79d7e1e6b2b66699ccb1543.tar.xz
core-6d0845b518821e4ba79d7e1e6b2b66699ccb1543.zip
yet a kdmrc-Correction for gentoos functions-default ;-)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@797 95ad53e4-c205-0410-b2fa-d234c58c8868
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