Coder Social home page Coder Social logo

dynamix.system.autofan.cpu's Introduction

来源于 https://github.com/chaosk731/dynamix.system.autofan.cpu.git

在此基础上修改为了gitee源,并对获取温度的代码作出调整

适合于 tank 机箱, 该机箱只有一个风扇,需要根据CPU或者硬盘中温度较高者进行调整,并且要考虑直通硬盘的温度获取

以下是原修改

dynamix.system.autofan.cpu

基于unraid app dynamix.system.autofan,进行修改,将温度获取种类由磁盘改为cpu温度。便于nas diy玩家使用。cpu被动散热勿使用

exec

curl "https://raw.githubusercontent.com/chaosk731/dynamix.system.autofan.cpu/master/dynamix.system.autofan.cpu.sh" | /bin/bash

这里是新添加的修改

改为获取CPU\主板\硬盘中温度最高的值

exec

/usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan 'stop'
curl "https://gitee.com/xlkgh/dynamix.system.autofan.cpu/raw/master/dynamix.system.autofan.cpu.sh" | /bin/bash
/usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan 'start'

配置开机自动替换

在go文件添加以下内容

#设置dynamix.system.autofan.cpu
curl "https://gitee.com/xlkgh/dynamix.system.autofan.cpu/raw/master/dynamix.system.autofan.cpu.sh" | /bin/bash
sleep 5s
/usr/local/emhttp/plugins/dynamix.system.autofan/scripts/rc.autofan 'start'

dynamix.system.autofan.cpu's People

Contributors

chaosk731 avatar xlkgh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.