diff options
author | Michael Janczyk | 2006-05-15 17:43:11 +0200 |
---|---|---|
committer | Michael Janczyk | 2006-05-15 17:43:11 +0200 |
commit | 00a02c9dff76a1416c51c58b9514e520c3f633ec (patch) | |
tree | bc0ab98addd63957eeadf02f24a4ff13d8943ff3 /vmware/winconfig | |
parent | fixes and cleanups within installer, see #51 too (diff) | |
download | core-00a02c9dff76a1416c51c58b9514e520c3f633ec.tar.gz core-00a02c9dff76a1416c51c58b9514e520c3f633ec.tar.xz core-00a02c9dff76a1416c51c58b9514e520c3f633ec.zip |
few changes, testcommit
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@212 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'vmware/winconfig')
-rw-r--r-- | vmware/winconfig | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/vmware/winconfig b/vmware/winconfig index 8ac8d149..a703ed15 100644 --- a/vmware/winconfig +++ b/vmware/winconfig @@ -4,24 +4,26 @@ # create Windows config file +# NO LONGER NEEDED !!!!! # definition of some resolution variables -hostres=$(xvidtune -show | grep -ve "^$") -x_param=$(echo "${hostres}" | awk '{print $3}') -y_param=$(echo "${hostres}" | awk '{print $7}') -resolution=" - <resolution_x param=\"${x_param}\">\r - </resolution_x>\r - <resolution_y param=\"${y_param}\">\r - </resolution_y>\r" +#hostres=$(xvidtune -show | grep -ve "^$") +#x_param=$(echo "${hostres}" | awk '{print $3}') +#y_param=$(echo "${hostres}" | awk '{print $7}') +#resolution=" +# <resolution_x param=\"${x_param}\">\r +# </resolution_x>\r +# <resolution_y param=\"${y_param}\">\r +# </resolution_y>\r" # VMplayer does not need resolution change -if [ `which vmplayer 2>/dev/null` ] && [ -z "${vmrun}" ] \ - || [ "${vmrun}" = "vmplayer" ]; then - resolution= -fi +#if [ `which vmplayer 2>/dev/null` ] && [ -z "${vmrun}" ] \ +# || [ "${vmrun}" = "vmplayer" ]; then +# resolution= +#fi # sync is needed to ensure that data is really written to virtual disk +# insert '\r${resolution}' after </username> when resolution needed sync echo -e "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r <settings>\r @@ -29,7 +31,7 @@ echo -e "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r <computername param=\"${hostname}\">\r </computername>\r <username param=\"${USER}\">\r - </username>\r${resolution} + </username> </eintrag>\r </settings>\r" \ > /media/loop0/config.xml |