summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/XX_vmchooser.sh
diff options
context:
space:
mode:
authorBastian Wissler2008-06-05 15:43:29 +0200
committerBastian Wissler2008-06-05 15:43:29 +0200
commit295c3466cfd902c2e75246b995d33078a942460b (patch)
tree76fc350a2f39151fcc93d808d120df5c9df90190 /os-plugins/plugins/vmchooser/XX_vmchooser.sh
parentVMChooser-Version mit XML+Info als erster Parameter fÃŒr run-vmware.sh (diff)
downloadcore-295c3466cfd902c2e75246b995d33078a942460b.tar.gz
core-295c3466cfd902c2e75246b995d33078a942460b.tar.xz
core-295c3466cfd902c2e75246b995d33078a942460b.zip
BugFix
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1844 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmchooser/XX_vmchooser.sh')
-rw-r--r--os-plugins/plugins/vmchooser/XX_vmchooser.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
index fc446f2f..e5842171 100644
--- a/os-plugins/plugins/vmchooser/XX_vmchooser.sh
+++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
@@ -12,21 +12,11 @@ if [ -e $CONFFILE ]; then
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=/etc/X11/sessions/default.sh
- TryExec=/etc/X11/sessions/default.sh
+ Exec=/opt/openslx/plugin-repo/vmchooser/vmchooser -s /etc/X11/sessions/
+ TryExec=/opt/openslx/plugin-repo/vmchooser/vmchooser -s /etc/X11/sessions/
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