diff options
| author | Volker Uhrig | 2007-06-04 17:01:17 +0200 |
|---|---|---|
| committer | Volker Uhrig | 2007-06-04 17:01:17 +0200 |
| commit | fecc8cd481d9108372e936af296c441fc6ad933d (patch) | |
| tree | 976a223fc23e523c03e71b54add6c069b247cbdb | |
| parent | Minor bugfixes/improvements (diff) | |
| download | core-fecc8cd481d9108372e936af296c441fc6ad933d.tar.gz core-fecc8cd481d9108372e936af296c441fc6ad933d.tar.xz core-fecc8cd481d9108372e936af296c441fc6ad933d.zip | |
Path change of xdialog.sh from /etc/X11 to /var/X11R6/bin
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1145 95ad53e4-c205-0410-b2fa-d234c58c8868
| -rwxr-xr-x | initramfs/initrd-stuff/bin/servconfig | 16 | ||||
| -rw-r--r-- | virtualization/templates/xdialog.sh | 2 |
2 files changed, 4 insertions, 14 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig index 0e768dfa..aea0e16f 100755 --- a/initramfs/initrd-stuff/bin/servconfig +++ b/initramfs/initrd-stuff/bin/servconfig @@ -319,8 +319,7 @@ config_nscd # create needed directories and files if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then for i in /var/X11R6/bin /etc/vmware/vmnet1 /etc/vmware/vmnet8 \ - /var/run/vmware /etc/X11/sessions/runvmware /etc/vmware/loopimg \ - /etc/vmware/fd-loop; do + /var/run/vmware /etc/vmware/loopimg /etc/vmware/fd-loop; do testmkd /mnt/$i done # create needed devices (not created automatically via module load) @@ -350,14 +349,6 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then echo -e "usbfs\t\t/proc/bus/usb\tusbfs\t\tauto\t\t 0 0" >> /mnt/etc/fstab echo -e "mount -t usbfs usbfs /proc/bus/usb 2>/dev/null" \ >> /mnt/etc/${D_INITDIR}/boot.slx - # check here that mount finished and the important files are available - #if [ "$noimg" = "yes" ] ; then - # error "$scfg_vmdir" nonfatal - #else - # copy runvmware for vmware images and Xdialog sessionsmenu - #cp /mnt/var/lib/vmware/templ/runvmware \ - #/mnt/var/X11R6/bin >/dev/null 2>&1 - #fi config_vmware chmod 1777 /mnt/var/run/vmware # define a variable where gdm/kdm should look for additional sessions @@ -372,8 +363,7 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then #I dont like this part, but there is no simple workaround. We need to #create xdialog.sh on every box :( - #echo "Exec=/var/lib/vmware/xdialog-files/${pool}/xdialog.sh" \ - echo "Exec=/etc/X11/xdialog.sh" \ + echo "Exec=/var/X11R6/bin/xdialog.sh" \ >> /mnt/etc/X11/sessions/default.desktop echo "Type=Application" >> /mnt/etc/X11/sessions/default.desktop # we configured vmware, so we can delete the not_configured file @@ -387,7 +377,7 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then # directory of templates and xdialog files vmdir=/mnt/var/lib/vmware - cp ${vmdir}/templates/xdialog.sh /mnt/etc/X11/ + cp ${vmdir}/templates/xdialog.sh /mnt/var/X11R6/bin/ # /usr/share/xsessions/* files for the menu for i in /mnt/usr/share/xsessions/*.desktop; do diff --git a/virtualization/templates/xdialog.sh b/virtualization/templates/xdialog.sh index 3fac01bf..031921a4 100644 --- a/virtualization/templates/xdialog.sh +++ b/virtualization/templates/xdialog.sh @@ -16,4 +16,4 @@ $($(which Xdialog) --rc-file /var/lib/openslx/themes/Xdialog/gtkrc \ --item-help \ --menubox "Please choose the image you would like to run:" \ 35 80 0 \ - "/etc/X11/xdialog.sh" "No Image - Don't press return too fast" "" \ + "/var/X11R6/bin/xdialog.sh" "No Image - Don't press return too fast" "" \ |
