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 2847 by niro, Wed Nov 21 10:54:28 2018 UTC revision 2848 by niro, Thu Jul 25 09:51:37 2019 UTC
# Line 66  helper_graphic_rebuild_xorg_conf_d() Line 66  helper_graphic_rebuild_xorg_conf_d()
66   addconfig 'EndSection'   addconfig 'EndSection'
67   fi   fi
68    
69     # rebuild 25-monitor.conf
70     # always clear the config
71     CONFIG="${MROOT}@@SYSCONFDIR@@/X11/xorg.conf.d/25-monitor.conf"
72     clearconfig
73     addconfig "# Autogenerated by mcored"
74     # but only add lines if some values are found in config.d dir
75     if path_not_empty ${MROOT}/${MCORE_CONFIG_PATH}/xorg/monitor
76     then
77     addconfig 'Section "Monitor"'
78     addconfig ' Identifier "Monitor0"'
79     helper_graphic_add_configs ${MROOT}/${MCORE_CONFIG_PATH}/xorg/monitor
80     addconfig 'EndSection'
81     fi
82    
83     # rebuild 25-serverlayout.conf
84     # always clear the config
85     CONFIG="${MROOT}@@SYSCONFDIR@@/X11/xorg.conf.d/25-serverlayout.conf"
86     clearconfig
87     addconfig "# Autogenerated by mcored"
88     # but only add lines if some values are found in config.d dir
89     if path_not_empty ${MROOT}/${MCORE_CONFIG_PATH}/xorg/serverlayout
90     then
91     addconfig 'Section "ServerLayout"'
92     addconfig ' Identifier "ServerLayout0"'
93     helper_graphic_add_configs ${MROOT}/${MCORE_CONFIG_PATH}/xorg/serverlayout
94     addconfig 'EndSection'
95     fi
96    
97   # always disable hdmi port on zotac devices atm - fixme make it configurable like alx   # always disable hdmi port on zotac devices atm - fixme make it configurable like alx
98   CONFIG="${MROOT}@@SYSCONFDIR@@/X11/xorg.conf.d/30-fix-zotac.conf"   CONFIG="${MROOT}@@SYSCONFDIR@@/X11/xorg.conf.d/30-fix-zotac.conf"
99   clearconfig   clearconfig

Legend:
Removed from v.2847  
changed lines
  Added in v.2848