Removed "MiSTer" hostname check (#69)

This commit is contained in:
tofukazoo
2021-10-10 12:53:10 -07:00
committed by GitHub
parent d9d4aa92d3
commit 4dce7618e7

View File

@@ -17,6 +17,7 @@
# https://github.com/MiSTer-devel/Scripts_MiSTer
# Version 1.0 - 2020-01-22 - first version
# Version 1.1 - 2021-09-12 - removed "MiSTer" hostname check
import os
import sys
@@ -26,10 +27,6 @@ from os import path
UBOOT_PATH = "/media/fat/linux/u-boot.txt"
if os.uname()[1] != "MiSTer":
print ("This script must be run on a MiSTer system.")
sys.exit(1)
if path.exists(UBOOT_PATH):
poll_prefixes = ("v=loglevel=","usbhid.jspoll=","xpad.cpoll=")