Initial commit - Phase 3/4
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
14
systemd/dangerous-pi-cpu-cores.service
Normal file
14
systemd/dangerous-pi-cpu-cores.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user