From 2a4f2769b4b42849b1e357780adb9927189e3cf2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 3 Aug 2026 13:37:11 -0400 Subject: [PATCH] Update pushbutton.py change port to 8081 to avoid conflict --- pushbutton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pushbutton.py b/pushbutton.py index 348aee6f..996ecb0a 100644 --- a/pushbutton.py +++ b/pushbutton.py @@ -150,7 +150,7 @@ if not GPIO.input(push_button): # if pushbutton is held down during boot result = subprocess.run(['nmcli', 'connection', 'show'], capture_output=True, text=True) print(result, flush=True) sleep(2) - subprocess.Popen(['sudo', '-u', 'pi', 'ttyd', '-p', '8080', 'bash']) + subprocess.Popen(['sudo', '-u', 'pi', 'ttyd', '-p', '8081', 'bash']) GPIO.setup(powerPin, GPIO.OUT) GPIO.output(powerPin, 1)