]>
git.ipfire.org Git - thirdparty/systemd.git/blob - tools/make-autosuspend-rules.py
2 # SPDX-License-Identifier: LGPL-2.1+
4 # Generate autosuspend rules for devices that have been whitelisted (IE tested)
5 # by the Chromium OS team. Please keep this script in sync with:
6 # https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py
9 import chromiumos
.gen_autosuspend_rules
11 if __name__
== '__main__':
13 sys
.stdout
= open(sys
.argv
[1], 'w')
14 chromiumos
.gen_autosuspend_rules
.main()