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 |