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