apolloapi-v2/backend/rc.local
John bee143b3fe Backend Image Updates
Add NVME Swap memory, update first run scripts.
2021-07-30 15:28:17 -04:00

13 lines
240 B
Plaintext

#MCU Image rc.local
/opt/apolloapi/backend/firewall
#configure gpios
gpio mode 1 out
gpio write 1 0
gpio mode 0 out
gpio write 0 1
#configure cpu
cpufreq-set -c0 -u 1.2GHz -g CONSERVATIVE
#mount nvme drive
/opt/apolloapi/backend/first_run