Created
January 1, 2025 07:39
-
-
Save Langerz82/b10c7bda6376bcfd75f97715a587a6b5 to your computer and use it in GitHub Desktop.
linux setres Amlogic-ne bypass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert) | |
# Copyright (C) 2022-present Joshua L (https://github.com/Langerz82) | |
# Read the video output mode and set it for emuelec to avoid video flicking. | |
# This file sets the hdmi output and frame buffer to the argument in pixel width. | |
# Allowed argument example ./setres.sh 1080p60hz <-- For height 1080 pixels. | |
# set -x #echo on | |
# Source predefined functions and variables | |
. /etc/profile | |
[[ "${EE_DEVICE}" == "Amlogic-ne" ]] && exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment