[Unit] Description=Set default CPU cores (maxcpus) for Dangerous Pi # This service sets initial defaults in cmdline.txt on first boot # For Pi Zero 2 W, this defaults to 2 cores for thermal management After=local-fs.target Before=dangerous-pi.service [Service] Type=oneshot ExecStart=/opt/dangerous-pi/scripts/apply-cpu-cores.sh RemainAfterExit=yes [Install] WantedBy=multi-user.target