------------------------------------------------------------------------ r2845 | niro | 2018-11-16 15:24:20 +0100 (Fr, 16. Nov 2018) | 1 Zeile -honor MROOT and fix typos en|disabled -> en|disable Index: mcore-tools/src/modules/basic-video/graphic.client.class.in =================================================================== --- mcore-tools/src/modules/basic-video/graphic.client.class.in (Revision 2844) +++ mcore-tools/src/modules/basic-video/graphic.client.class.in (Revision 2845) @@ -87,12 +87,12 @@ write_zotac_quirk=1 fi - if [ -f ${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf ] + if [ -f ${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi ] then - source ${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf + source ${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi case "${graphic_hdmi}" in - enabled) write_zotac_quirk=0 ;; - disabled) write_zotac_quirk=1 ;; + enable) write_zotac_quirk=0 ;; + disable) write_zotac_quirk=1 ;; esac fi @@ -254,7 +254,7 @@ case "${action}" in enable|disable) - CONFIG="${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf" + CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi" clearconfig addconfig "graphic_hdmi=\"${action}\"" ;; @@ -296,7 +296,7 @@ get_graphic_hdmi() { - local CONFIG="${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf" + local CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi" if [ -f ${CONFIG} ] then rvecho "$(< ${CONFIG})" ------------------------------------------------------------------------