distribution/packages/kernel/linux/udev.d/30-disable-wakeup.rules

10 lines
315 B
Text
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
2022-02-16 00:41:13 +00:00
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
2022-02-05 14:23:32 +00:00
ACTION!="add|change", GOTO="end"
2022-02-16 00:41:13 +00:00
DRIVER=="ehci-pci|xhci_hcd", RUN+="/usr/bin/sh -c 'echo disabled > /sys$devpath/power/wakeup'"
2022-02-05 14:23:32 +00:00
LABEL="end"