From: Bdale Garbee Date: Fri, 25 Jul 2025 15:32:09 +0000 (-0600) Subject: remove debugging printf from the power button watcher daemon script X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=277baa8baf3e9944b2892f551004e163fd06d744;p=fw%2Fquantimotor remove debugging printf from the power button watcher daemon script --- diff --git a/power-button.py b/power-button.py index 584e0ac..e2478c3 100755 --- a/power-button.py +++ b/power-button.py @@ -32,11 +32,6 @@ def watch_line_falling(chip_path, line_offset): while True: # Blocks until at least one event is available for event in request.read_edge_events(): - print( - "line: {} type: Rising event #{}".format( - event.line_offset, event.line_seqno - ) - ) os.system("shutdown -h now") if __name__ == "__main__":