init
This commit is contained in:
13
install.sh
Executable file
13
install.sh
Executable 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
|
||||
Reference in New Issue
Block a user