From e5cf316f545627c665e07fe17854690e61eeec82 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Tue, 12 Dec 2006 20:37:59 +0000 Subject: runvmware xdialog write to stdout. kdmrc template established + adaptations for new kdmrc template. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@531 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/ubuntu/functions-default | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'initramfs/distro-specs/ubuntu/functions-default') diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index 13eb7f14..21d8c2e3 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -4,6 +4,7 @@ # Dirk von Suchodoletz , 23-06-2006 # Nico Dietrich # Felix Endres +# mj0, 12-12-2006 # # (c) 2006 - RZ Universitaet Freiburg # (c) 2006 - OpenSLX.ORG project @@ -331,6 +332,10 @@ fi # configure kdm as display manager config_kdm () { +# first define directories for kdm +kdmrcdir=/etc/kde3/kdm +xdmdir=/etc/kde3/kdm + # fixme: check if a kdmrc was provided via ConfTGZ #[ -f /rootfs/etc/opt/???? kdmrc ] || \ # echo " ..." > kdmrc @@ -345,6 +350,9 @@ config_kdm () { # \t( sleep 120; ln -sf /etc/${D_INITDIR}/kdm /etc/rc3.d/S01kdm \ # >${LOGFILE} 2>&1) &\n" >>/mnt/etc/${D_INITDIR}/boot.ld #fi + +# write configuration file +config_kdm_template } # configure hal, dbus, resmgr and services like that @@ -387,7 +395,12 @@ rllinker "vmware-prep" "18" "02" rllinker "vmware" "20" "02" # during vmware sessions linux should not handle usb events/devices testmkd /mnt/var/X11R6/bin +# add special path /var/X11R6/bin to the PATH variable +# fixme!! add path directly to /etc/profile!? +echo -e "# added path component by $0: $date\n\ +PATH=\"\$PATH:/var/X11R6/bin\"" >>/mnt/etc/profile echo '#!/bin/sh'>> /mnt/etc/udev/rules.d/01-udev-vm.rules +# USB stuff echo -e "# Script for blocking linux from handling usb \ devices\n# during vmware sessions. If you like to remove certain modules \ add them\n# to the list below - Dirk von Suchodoletz, \n\ -- cgit v1.2.3-55-g7522