10626879 发表于 2020-10-9 23:18:14

ganxie大佬

zhouyongii 发表于 2020-10-12 13:14:21

这个办法好

zhangkey 发表于 2020-11-8 14:08:15

感谢楼主分享 学习中

10626879 发表于 2020-11-14 19:16:45

superaj 发表于 2019-10-21 21:55
论坛用的垃圾奇安信一直拦截无法修改
这里更正一下:
风扇自动启停脚本需要权限 777然后计划任务需要添加的 ...

不知道为什么我添加进计划任务多数时候开机不启动风扇启停脚本有时候开机会启动,然后我改到/etc/rc.local里面开机自动执行去了,我新建了一个sh脚本改名0000.sh放到了/usr/local/bin/0000.sh这里,
#!/bin/bash
/usr/local/bin/fans.sh 60000 50000
然后下载了/etc/rc.local这文件,添加了倒数第二段
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

bash /usr/local/bin/0000.sh

exit 0
在然后rm /etc/rc.local删除了原始的rc.local文件,再把刚刚修改好的文件网页文件管理器上传到了根目录tmp文件夹,然后mv /tmp/rc.local /etc/rc.local把修改后的文件复制了回去,修改后的0000.sh和rc.local有没有用chmod修改权限我也忘了

uts300 发表于 2021-1-21 15:36:11

学习一下,

81847331 发表于 2021-1-22 09:47:47

收藏备用

lgt5684 发表于 2021-9-29 19:57:43

谢谢分享,找了很久了!
页: 1 2 3 4 5 [6]
查看完整版本: 我家云入门指南[风扇自动启停,改界面,远程DDNS等等]