From 2c6c91bcf0a61000c413c3bc726b2695bff697a5 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Wed, 31 May 2006 19:38:59 +0000 Subject: commit because of changes vmware does NOT work! git-svn-id: http://svn.openslx.org/svn/openslx/ld4@244 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/servconfig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'initrd/initrd-stuff/bin/servconfig') diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index 33222356..592fbb04 100755 --- a/initrd/initrd-stuff/bin/servconfig +++ b/initrd/initrd-stuff/bin/servconfig @@ -276,8 +276,8 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then # # # HACK!!! - # - # + # Links not created because of non existing vmware dir (see above ->&) + # replace awk and grep, etc ... # d_mkrlscript init vmware-prep "Starting preparation of vmware environment" sed "s,^#.*,,;/^$/d;s,^,\t," /etc/vmware-prep >> \ @@ -301,9 +301,7 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then for i in /mnt/var/lib/vmware/vmsessions/*.desktop; do session_name=$(cat ${i} | grep -iw "exec" \ | awk -F "=" '{print $2}') - #coppy bacause of initrd - cp /mnt/var/X11R6/bin/desktop-session /mnt/var/X11R6/bin/${session_name} - #ln -s /mnt/var/X11R6/bin/desktop-session /mnt/var/X11R6/bin/${session_name} + ln -sf /var/X11R6/bin/desktop-session /var/X11R6/bin/${session_name} done fi config_vmware -- cgit v1.2.3-55-g7522