summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/bin/servconfig
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-03-22 13:37:33 +0100
committerDirk von Suchodoletz2007-03-22 13:37:33 +0100
commit94391b59426fd6cf1516a8590d495a8ee37675ca (patch)
treeee64729839430243e22df29d5d5d8346f3f68746 /initramfs/initrd-stuff/bin/servconfig
parentUpdated pcitable (still supopt. see #100), unset of rootfs in init, added (diff)
downloadcore-94391b59426fd6cf1516a8590d495a8ee37675ca.tar.gz
core-94391b59426fd6cf1516a8590d495a8ee37675ca.tar.xz
core-94391b59426fd6cf1516a8590d495a8ee37675ca.zip
Ugly problem with changed kdm* behaviour in SuSE10.2 - by now EXEC and
TRYEXEC in *.desktop need full path to script to be executed properly (detection works still the old style) - changes are backward compat. You have to set the template files accordingly. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@794 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/bin/servconfig')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig
index 0f309e17..ac515b1d 100755
--- a/initramfs/initrd-stuff/bin/servconfig
+++ b/initramfs/initrd-stuff/bin/servconfig
@@ -78,7 +78,7 @@ echo "
| |_| | | | |___| | | | ____| | |___ / /
_____/|__| |______|__| |__| |_______|______|__| |__|
- Diskless Workstation (v4.0.6/$dstr (c) <OpenSLX.ORG project>
+ Diskless Workstation (v4.0.8/$dstr (c) <OpenSLX.ORG project>
">/mnt/etc/issue
#############################################################################
@@ -365,7 +365,7 @@ Type=Application" >/mnt/etc/X11/sessions/default.desktop
# | awk -F "=" '{print $2}')
session_name=$(sed \
'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/;/^exec=/!d' ${i} \
- | sed '$!d;s/exec=//')
+ | sed '$!d;s,exec.*[/=],,')
# create session links so that they con be startet via xdm
cd /mnt/var/X11R6/bin
ln -s desktop-session ${session_name}