From f26786f0a972342b9e7a263d4cfcab9390ae3ef4 Mon Sep 17 00:00:00 2001 From: Volker Uhrig Date: Thu, 17 Jan 2008 15:37:51 +0000 Subject: Fix order of menus in xdialog git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1481 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/VMware/XX_VMware.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'os-plugins/plugins') diff --git a/os-plugins/plugins/VMware/XX_VMware.sh b/os-plugins/plugins/VMware/XX_VMware.sh index 4dd7a8d2..ce0999b8 100644 --- a/os-plugins/plugins/VMware/XX_VMware.sh +++ b/os-plugins/plugins/VMware/XX_VMware.sh @@ -127,6 +127,10 @@ if [ -e /initramfs/plugin-conf/VMware.conf ]; then >>/mnt/etc/X11/sessions/default.desktop echo "Type=Application" >>/mnt/etc/X11/sessions/default.desktop + # all virtual machine clients + cat ${vmdir}/xdialog-files/${pool}/*.xdialog \ + >>/mnt/var/X11R6/bin/xdialog.sh + # /usr/share/xsessions/* files for the menu for i in /mnt/usr/share/xsessions/*.desktop; do # execute @@ -139,9 +143,6 @@ if [ -e /initramfs/plugin-conf/VMware.conf ]; then echo "\"$(grep '^Comment=' ${i}|sed 's/^Comment=//')\" \\" \ >>/mnt/var/X11R6/bin/xdialog.sh done - # all virtual machine clients - cat ${vmdir}/xdialog-files/${pool}/*.xdialog \ - >>/mnt/var/X11R6/bin/xdialog.sh # closing bracket as last line ends with '\' echo ")" >>/mnt/var/X11R6/bin/xdialog.sh chmod 755 /mnt/var/X11R6/bin/xdialog.sh @@ -168,4 +169,4 @@ if [ -e /initramfs/plugin-conf/VMware.conf ]; then [ $DEBUGLEVEL -gt 0 ] && echo "done with 'VMware' os-plugin ..."; fi -fi \ No newline at end of file +fi -- cgit v1.2.3-55-g7522