diff options
author | Bastian Wissler | 2008-06-04 16:52:48 +0200 |
---|---|---|
committer | Bastian Wissler | 2008-06-04 16:52:48 +0200 |
commit | cccc041d172b9b0b83bee372327e22c434b09ea9 (patch) | |
tree | 9fd016a0c29c1a98feb93e6a60f300edbaad2bda /os-plugins/plugins/vmchooser/XX_vmchooser.sh | |
parent | * corrected KDM path to /usr/bin/kdm (diff) | |
download | core-cccc041d172b9b0b83bee372327e22c434b09ea9.tar.gz core-cccc041d172b9b0b83bee372327e22c434b09ea9.tar.xz core-cccc041d172b9b0b83bee372327e22c434b09ea9.zip |
VMChooser-Version mit XML+Info als erster Parameter fÃŒr run-vmware.sh
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1843 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmchooser/XX_vmchooser.sh')
-rw-r--r-- | os-plugins/plugins/vmchooser/XX_vmchooser.sh | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh index 037a857c..fc446f2f 100644 --- a/os-plugins/plugins/vmchooser/XX_vmchooser.sh +++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh @@ -8,17 +8,25 @@ if [ -e $CONFFILE ]; then [ $DEBUGLEVEL -gt 0 ] && echo "creating default session entry ..."; echo '[Desktop Entry] Encoding=UTF-8 - Name=VMCHOOSER - Name[de]=VMCHOOSER + Name=virtual machine chooser (default) + Name[de]=Virtuelle Maschine auswählen Comment=This session starts the vm session chooser Comment[de]=Diese Sitzung startet das Auswahlmenü für die vorhandenen Sitzungen - Exec=/opt/openslx/plugin-repo/vmchooser/vmchooser - TryExec=/opt/openslx/plugin-repo/vmchooser/vmchooser - Icon= + Exec=/etc/X11/sessions/default.sh + TryExec=/etc/X11/sessions/default.sh + Icon= Type=Application' >> /mnt/etc/X11/sessions/default.desktop - - + + [ $DEBUGLEVEL -gt 0 ] && echo "creating wrapper script ..."; + echo '#!/bin/bash + # This script was created from XX_vmchooser.sh + # and is a wrapper script for the vmchooser program + /opt/openslx/plugin-repo/vmchooser/vmchooser -s /etc/X11/sessions/ + /etc/X11/sessions/session.sh & + ' >> /mnt/etc/X11/sessions/default.sh + chmod +x /mnt/etc/X11/sessions/default.sh + [ $DEBUGLEVEL -gt 0 ] && echo "done with 'vmchooser' os-plugin ..."; fi fi |