Loading... **一、前言** - 如果不是挖矿过的猫盘升级dsm7.0还是可以的,dsm7.0界面反应速度比6.0快,不考虑第三方套件可以升级。 - 此方法支持硬盘休眠与完美关机。但是建议不要休眠,因为黑群设备会频繁唤醒会伤害硬盘。 **二、具体操作** (1)关闭高占用率服务、开启硬盘休眠和led灯 - 休眠时绿色闪光,唤醒蓝色常亮,网络异常红色闪光。 添加到开机任务: ```bash mount -o bind /dev/null /var/log/scemd.log || true systemctl stop pkg-scsit-monitor.service mkdir -p /tmp/scripts cat > /tmp/scripts/ledfan.sh <<EOF #!/bin/sh if [ ! -d /sys/class/gpio/gpio450 ] ; then echo 450 > /sys/class/gpio/export fi echo out > /sys/class/gpio/gpio450/direction i2cset -y -f 0 0x45 0x00 0x55 i2cset -y -f 0 0x45 0x01 0x01 i2cset -y -f 0 0x45 0x30 0x07 while true do #Detect network connection ping -W 1 -c 1 Lenovo > /dev/null 2>&1 if [ $? -eq 0 ]; then i2cset -y -f 0 0x45 0x34 0x00 else i2cset -y -f 0 0x45 0x31 0x73 i2cset -y -f 0 0x45 0x34 255 fi sata="\$(hdparm -C /dev/sda |grep 'drive'|awk '{print \$4}')" if [ \$sata = standby ];then i2cset -y -f 0 0x45 0x36 0 i2cset -y -f 0 0x45 0x32 0x73 #呼吸 i2cset -y -f 0 0x45 0x35 200 echo 0 > /sys/class/gpio/gpio450/value fi if [ \$sata = active/idle ];then sata_temp="\$(smartctl -a /dev/hda -d ata | sed -n '/Temperature_Celsius/p' | awk '{print \$10}')" i2cset -y -f 0 0x45 0x35 0 i2cset -y -f 0 0x45 0x33 0x03 #常亮 i2cset -y -f 0 0x45 0x36 150 #B echo 1 > /sys/class/gpio/gpio450/value fi sleep 30 done EOF bash /tmp/scripts/ledfan.sh ``` (2)关机熄灭LED关闭风扇。添加到关机任务: ```bash i2cset -y -f 0 0x45 0x30 0x00 echo 0 > /sys/class/gpio/gpio450/value ``` (3)黑群晖DSM7.0/DSM7.01控制面板-信息中心首页显示空白的解决方法 添加root计划任务运行一次即可: ```bash sed -i 's/supportsystempwarning="yes"/supportsystempwarning="no"/g' /etc.defaults/synoinfo.conf sed -i 's/supportsystemperature="yes"/supportsystemperature="no"/g' /etc.defaults/synoinfo.conf ``` 全部完成后重启猫盘 最后修改:2024 年 08 月 29 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏
1 条评论
?内容类评语?