Files
pi-pm3/systemd/dangerous-pi-cpu-cores.service
michael 4f35df1781 Initial commit - Phase 3/4
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 13:46:22 -08:00

15 lines
388 B
Desktop File

[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