diff options
Diffstat (limited to 'tools/autosuspend-update.sh')
-rwxr-xr-x | tools/autosuspend-update.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/autosuspend-update.sh b/tools/autosuspend-update.sh new file mode 100755 index 0000000..a4f99eb --- /dev/null +++ b/tools/autosuspend-update.sh @@ -0,0 +1,7 @@ +#!/bin/sh +set -eu + +cd "$1" + +(curl -L 'https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py?format=TEXT'; echo) \ + | base64 -d > gen_autosuspend_rules.py |