]> git.ipfire.org Git - thirdparty/systemd.git/blame - tools/make-autosuspend-rules.py
Merge pull request #15669 from andir/systemd-ipv6-pd-subnet-id
[thirdparty/systemd.git] / tools / make-autosuspend-rules.py
CommitLineData
b61d777a
ML
1#!/usr/bin/env python3
2# SPDX-License-Identifier: LGPL-2.1+
3
4# Generate autosuspend rules for devices that have been whitelisted (IE tested)
0490b440 5# by the Chromium OS team. Please keep this script in sync with:
b61d777a
ML
6# https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py
7
8import sys
0490b440 9import chromiumos.gen_autosuspend_rules
b61d777a
ML
10
11if __name__ == '__main__':
12 if len(sys.argv) > 1:
13 sys.stdout = open(sys.argv[1], 'w')
0490b440 14 chromiumos.gen_autosuspend_rules.main()