--- mcore-src/trunk/mcore-tools/src/modules/basic-video/graphic.client.class.in 2018/11/16 13:43:52 2842 +++ mcore-src/trunk/mcore-tools/src/modules/basic-video/graphic.client.class.in 2018/11/16 13:47:13 2843 @@ -86,16 +86,6 @@ then write_zotac_quirk=1 fi - - if [ -f ${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf ] - then - source ${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf - case "${graphic_hdmi}" in - enabled) write_zotac_quirk=0 ;; - disabled) write_zotac_quirk=1 ;; - esac - fi - if [[ ${write_zotac_quirk} = 1 ]] then addconfig "# Autogenerated by mcored" @@ -136,14 +126,6 @@ mecho " Selects the graphic card driver used by Xorg." } -help_graphic_hdmi() -{ - mecho "set graphic.hdmi [action]" - mecho " Available actions:" - mecho " enable - enables the hdmi port" - mecho " disable - disables the hdmi port" -} - # set_graphic_resolution ${value} set_graphic_resolution() { @@ -247,24 +229,6 @@ fi } -set_graphic_hdmi() -{ - local action="${CLASS_ARGV[0]}" - local CONFIG - - case "${action}" in - enable|disable) - CONFIG="${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf" - clearconfig - addconfig "graphic_hdmi=\"${action}\"" - ;; - *) - help_graphic_driver - return 1 - ;; - esac -} - get_graphic_driver() { local action="${CLASS_ARGV[0]}" @@ -293,12 +257,3 @@ ;; esac } - -get_graphic_hdmi() -{ - local CONFIG="${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf" - if [ -f ${CONFIG} ] - then - rvecho "$(< ${CONFIG})" - fi -}