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)