Add setup instructions for argon fan
This commit is contained in:
parent
76d8874eb7
commit
f577430bd8
|
@ -12,6 +12,7 @@ Items marked ```REQUIRED``` are assumed to be setup and working. You've been war
|
||||||
|
|
||||||
* [Base Firmware (REQUIRED)](base.md)
|
* [Base Firmware (REQUIRED)](base.md)
|
||||||
* [Finalize Setup (REQUIRED)](finalize_setup.md)
|
* [Finalize Setup (REQUIRED)](finalize_setup.md)
|
||||||
|
* [Argon Fan Setup (VERY SMART)](fan.md)
|
||||||
* [Setup swap (REQUIRED)](swap.md)
|
* [Setup swap (REQUIRED)](swap.md)
|
||||||
* [Additional Networking Setup (REQUIRED)](networking.md)
|
* [Additional Networking Setup (REQUIRED)](networking.md)
|
||||||
* [Automatic WiFi Setup (VERY SMART)](auto_wifi_setup.md)
|
* [Automatic WiFi Setup (VERY SMART)](auto_wifi_setup.md)
|
||||||
|
|
30
docs/fan.md
Normal file
30
docs/fan.md
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Argon Fan
|
||||||
|
|
||||||
|
The below commands will setup the Argon Fan we recommend as a cooling solution.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
``` sh
|
||||||
|
|
||||||
|
DL_URL=$(curl https://git.kemonine.info/api/v1/repos/PiFrame/piframe-go/releases | jq -r '.[0].assets[] | select(.name == "fan") | .browser_download_url')
|
||||||
|
wget $DL_URL -O /usr/local/bin/pf-fan
|
||||||
|
chmod a+x /usr/local/bin/pf-fan
|
||||||
|
cat > /etc/systemd/system/argon-fan.service <<EOF
|
||||||
|
[Unit]
|
||||||
|
Description=Manage the argon fan attached to this device
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
ExecStart=/usr/local/bin/pf-fan
|
||||||
|
TimeoutSec=15
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl enable --now argon-fan
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in a new issue