summaryrefslogtreecommitdiffstats
path: root/tools/meson-autosuspend-update.sh
blob: a4f99eb6b334d824d2e6ce230e4f5807fdea4b05 (plain)
1
2
3
4
5
6
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