Magellan Linux

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

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

revision 2844 by niro, Fri Nov 16 13:48:00 2018 UTC revision 2845 by niro, Fri Nov 16 14:24:20 2018 UTC
# Line 87  helper_graphic_rebuild_xorg_conf_d() Line 87  helper_graphic_rebuild_xorg_conf_d()
87   write_zotac_quirk=1   write_zotac_quirk=1
88   fi   fi
89    
90   if [ -f ${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf ]   if [ -f ${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi ]
91   then   then
92   source ${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf   source ${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi
93   case "${graphic_hdmi}" in   case "${graphic_hdmi}" in
94   enabled) write_zotac_quirk=0 ;;   enable) write_zotac_quirk=0 ;;
95   disabled) write_zotac_quirk=1 ;;   disable) write_zotac_quirk=1 ;;
96   esac   esac
97   fi   fi
98    
# Line 254  set_graphic_hdmi() Line 254  set_graphic_hdmi()
254    
255   case "${action}" in   case "${action}" in
256   enable|disable)   enable|disable)
257   CONFIG="${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf"   CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi"
258   clearconfig   clearconfig
259   addconfig "graphic_hdmi=\"${action}\""   addconfig "graphic_hdmi=\"${action}\""
260   ;;   ;;
# Line 296  get_graphic_driver() Line 296  get_graphic_driver()
296    
297  get_graphic_hdmi()  get_graphic_hdmi()
298  {  {
299   local CONFIG="${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf"   local CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi"
300   if [ -f ${CONFIG} ]   if [ -f ${CONFIG} ]
301   then   then
302   rvecho "$(< ${CONFIG})"   rvecho "$(< ${CONFIG})"

Legend:
Removed from v.2844  
changed lines
  Added in v.2845