summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/distro-specs/ubuntu')
-rw-r--r--initramfs/distro-specs/ubuntu/config-default2
-rw-r--r--initramfs/distro-specs/ubuntu/functions-6.104
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default4
3 files changed, 4 insertions, 6 deletions
diff --git a/initramfs/distro-specs/ubuntu/config-default b/initramfs/distro-specs/ubuntu/config-default
index 08980d46..071b344e 100644
--- a/initramfs/distro-specs/ubuntu/config-default
+++ b/initramfs/distro-specs/ubuntu/config-default
@@ -63,3 +63,5 @@ D_XORGBIN=/usr/X11R6/bin/X
D_XFONTPATH="/usr/share/fonts/*"
D_DEFAULTCOUNTRY="de"
D_BOOTLOCAL=""
+D_KDMRCPATH=/etc/kde3/kdm
+D_XDMPATH=/etc/kde3/kdm
diff --git a/initramfs/distro-specs/ubuntu/functions-6.10 b/initramfs/distro-specs/ubuntu/functions-6.10
index e84898da..cc856d1a 100644
--- a/initramfs/distro-specs/ubuntu/functions-6.10
+++ b/initramfs/distro-specs/ubuntu/functions-6.10
@@ -103,9 +103,7 @@ rllinker "console-screen.sh" 31 3
# configure kdm as display manager
config_kdm () {
# first define directories for kdm
-local kdmrcdir=/etc/kde3/kdm
-local xdmdir=/etc/kde3/kdm
-testmkd /mnt/${kdmrcdir}
+testmkd /mnt/${D_KDMRCPATH}
rllinker "kdm" 3 1
if [ "x$start_xdmcp" = "xkdm" ]; then
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default
index 8ffb722a..4c483869 100644
--- a/initramfs/distro-specs/ubuntu/functions-default
+++ b/initramfs/distro-specs/ubuntu/functions-default
@@ -323,9 +323,7 @@ fi
# configure kdm as display manager
config_kdm () {
# first define directories for kdm
-kdmrcdir=/etc/kde3/kdm
-xdmdir=/etc/kde3/kdm
-testmkd /mnt/${kdmrcdir}
+testmkd /mnt/${D_KDMRCPATH}
rllinker "kdm" 25 1
if [ "x$start_xdmcp" = "xkdm" ]; then
# configure fallback if no kdm binary is present