Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/basic-video/graphic.control.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2856 by niro, Wed Jul 15 06:25:02 2020 UTC revision 2857 by niro, Wed Jul 15 06:26:01 2020 UTC
# Line 2  Line 2 
2    
3  push_firstboot 10_graphic_driver  push_firstboot 10_graphic_driver
4  push_firstboot 10_graphic_resolution  push_firstboot 10_graphic_resolution
5    push_firstboot 10_graphic_depth
6    
7  push_config 10_graphic_driver  push_config 10_graphic_driver
8  push_config 10_graphic_resolution  push_config 10_graphic_resolution
# Line 212  push_firstboot_10_graphic_resolution() Line 213  push_firstboot_10_graphic_resolution()
213   import_resource cfg_graphic "${serial}" resolution "${monitor_resolution}"   import_resource cfg_graphic "${serial}" resolution "${monitor_resolution}"
214   fi   fi
215  }  }
216    
217    push_firstboot_10_graphic_depth()
218    {
219     local serial="$1"
220     # just set to 'auto'
221     local graphic_depth="auto"
222    
223     if [[ ${MCORE_GRAPHIC_HWDETECT_DEEP} = 1 ]]
224     then
225     # just set it to 'auto'
226     decho "graphic_depth='${graphic_depth}'"
227     import_resource cfg_graphic "${serial}" depth "${graphic_depth}"
228     else
229     # default to runtime autodetection
230     graphic_driver="auto"
231     import_resource cfg_graphic "${serial}" depth "${graphic_depth}"
232     fi
233    }

Legend:
Removed from v.2856  
changed lines
  Added in v.2857