--- trunk/virtualbox/virtualbox-wrapper.sh 2008/03/27 14:14:30 552 +++ trunk/virtualbox/virtualbox-wrapper.sh 2008/06/10 16:29:07 649 @@ -1,5 +1,5 @@ #!/bin/bash -# $Header: /root/magellan-cvs/src/virtualbox/virtualbox-wrapper.sh,v 1.4 2008-03-27 14:14:30 niro Exp $ +# $Header: /root/magellan-cvs/src/virtualbox/virtualbox-wrapper.sh,v 1.5 2008-06-10 16:29:07 niro Exp $ # Wrapper for virtual for Magellan-Linux LIBDIR=/usr/lib @@ -22,12 +22,12 @@ then if [[ ! -z ${DISPLAY} ]] then - dialog() { xterm -e "echo -e \"$@\"; echo; echo \"Press [Enter] to continue ...\"; read"; } + dialog() { xterm -T "VirtualBox" -e "echo -e \"$@\"; echo; echo \"Press [Enter] to continue ...\"; read"; } [[ -x /usr/bin/xmessage ]] && dialog() { echo -e "$@" | /usr/bin/xmessage -center -button cancel -file -; } - [[ -x /usr/bin/Xdialog ]] && dialog() { /usr/bin/Xdialog --infobox "$@" 0 0 --no-ok --center; } + [[ -x /usr/bin/Xdialog ]] && dialog() { /usr/bin/Xdialog --no-ok --center --infobox "$@" 0 0; } - dialog "Please make sure that you have the virtualbox kernel module installed and loaded.\n" \ - "Run 'virtualbox-config' to get the kernel module compiled and installed." + dialog "Please make sure that you have the virtualbox kernel module installed and loaded +Run 'virtualbox-config' to get the kernel module compiled and installed." fi echo -e ${COLRED}"Please make sure that you have the virtualbox kernel module installed and loaded."${COLDEFAULT}