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 |
|
|
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 |
;; |
;; |
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})" |