summaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
authorMichael Janczyk2006-05-31 21:38:59 +0200
committerMichael Janczyk2006-05-31 21:38:59 +0200
commit2c6c91bcf0a61000c413c3bc726b2695bff697a5 (patch)
tree75a376002e5b744c2f9f944f54376d9dfda5259a /initrd
parentpasswd bug (diff)
downloadcore-2c6c91bcf0a61000c413c3bc726b2695bff697a5.tar.gz
core-2c6c91bcf0a61000c413c3bc726b2695bff697a5.tar.xz
core-2c6c91bcf0a61000c413c3bc726b2695bff697a5.zip
commit because of changes vmware does NOT work!
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@244 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd')
-rwxr-xr-xinitrd/initrd-stuff/bin/servconfig8
1 files changed, 3 insertions, 5 deletions
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