🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
388 B
Desktop File
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
|