From d9d4aa92d3983e508854d5106ae46b45c27db103 Mon Sep 17 00:00:00 2001 From: tofukazoo <59296534+tofukazoo@users.noreply.github.com> Date: Sun, 10 Oct 2021 12:52:48 -0700 Subject: [PATCH] Removed "MiSTer" hostname check (#68) --- other_authors/fast_USB_polling_on.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/other_authors/fast_USB_polling_on.sh b/other_authors/fast_USB_polling_on.sh index d317df6..c1783bd 100644 --- a/other_authors/fast_USB_polling_on.sh +++ b/other_authors/fast_USB_polling_on.sh @@ -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=")