屏蔽群晖系统升级并去除群晖桌面小红点,妈妈再也不用担心我手痒点升级了!

一、群晖控制面板,任务计划,新增,任务名称可以随便写,只要不和已有的任务同名即可,我这写的是:update;(此步骤耗时5秒)

 

二、点任务设置,复制以下内容进去以后,点确定:(此步骤耗时20秒)

mv /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num_bak.png
mv /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num_bak.png
wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png https://wp.gxnas.com/wp-content/uploads/2020/05/transparent.png
wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png https://wp.gxnas.com/wp-content/uploads/2020/05/transparent.png
echo "127.0.0.1 update.synology.com" > /etc/hosts

 

 

三、在这条任务计划上面点右键,运行;(此步骤耗时3秒)

 

四、点:是;(此步骤耗时2秒)

 

五、下面我们来验证一下:群晖不需要重启,只需要关掉电脑的浏览器,清除一下缓存,然后打开浏览器重新登录群晖,你会发现群晖桌面没有小红点了;

 

六、再验证一下控制面板,更新和还原,虽然会显示一个红色的1字,但是状态会显示“连接失败。请检查Intelnet连接。”,不能更新系统。

 

七、好了,妈妈再也不用担心我手痒点升级了!本教程在DSM6.17下测试通过。

原文链接:https://wp.gxnas.com/3523.html

 


方法二

遇到几个奇葩的群友,看不惯有红点提示,非要弄掉(因为是黑裙,所以不能轻易升级系统)。

下面给出一个简单粗暴的方法,那就是把小红点图片换掉!换掉!换掉!

SSH登录群晖,这个不多说,下面的命令拷贝执行即可

# 1、处理控制面板里面系统升级的小红点

cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png.bak

cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png.bak

wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

# 2、处理控制面板里面系统升级的小红点(侧栏提示)

cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png 
/usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png.bak

cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png 
/usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png.bak

wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png 
https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png 
https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

 

# 3、直接把桌面的小红点提示也都撸掉

cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png.bak

cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png.bak

wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

重启

如果后悔了想还原怎么办

cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png.bak /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png
cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png.bak /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png
cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png.bak /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png
cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png.bak /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png
cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png.bak /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png
cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png.bak /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png

链接:https://www.jianshu.com/p/be638e290020

版权声明:
作者:loyolife
链接:https://loyolife.com/829.html
来源:loyolife | 高效工作,轻松生活~ | 悠哉知识集
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>
文章目录
关闭
目 录