Skip to content

Commit

Permalink
usb wakeups default when acpi support is not available status
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Mar 1, 2024
1 parent 45225a1 commit db5e3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if os.path.exists("/run/ppm"):
os.unlink("/run/ppm")

if get("usb-wakeups",False, "service"):
if get("usb-wakeups",not is_acpi_supported(), "service"):
enable_usb_wakeups()

log_begin()
Expand Down

0 comments on commit db5e3e9

Please sign in to comment.