This commit is contained in:
2026-05-09 16:31:36 +08:00
commit 9f785a17f5
8 changed files with 340 additions and 0 deletions

13
install.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
rm -rf /opt/Auto_Fan
rm -rf /etc/systemd/system/auto-fan.service
mkdir -p /opt/Auto_Fan
cp -rf dist/fan /opt/Auto_Fan/
chmod +x /opt/Auto_Fan/fan
cp -rf auto-fan.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable auto-fan
systemctl start auto-fan