[Unit]
Description=Set CPU governor to performance
DefaultDependencies=no
After=sysinit.target

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'for f in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f "$f" ] && echo performance > "$f"; done'
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
