# # this is an include file for runvmware # # 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=" # \r # \r # \r # \r" # VMplayer does not need resolution change #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 when resolution needed sync echo -e "\r \r \r \r \r \r \r \r" \ > /tmp/loop0/config.xml sync