自定义Grub2主题每隔一段时间就会失效
Tofloor
poster avatar
timmi
deepin
2017-12-01 08:28
Author
需要重新改一遍/etc/default/grub,然后终端update-grub

有什么办法不失效吗
Reply Favorite View the author
All Replies
avatar
electricface
deepin
2017-12-01 17:24
#1
不好意思,daemon.Grub2 是我开发的,我没有照顾grub2高端玩家的使用。我提供一个 脚本,可以停止daemon.grub2 的覆盖行为。

文件名 disable_daemon_grub2.sh
  1. #!/bin/sh
  2. set -x
  3. sudo update-grub2
  4. scriptMD5sum=$(md5sum /boot/grub/grub.cfg|awk '{print $1}')
  5. logfile=/var/cache/deepin/grub2.log
  6. sudo sed -i "s#scriptMD5sum=.*#scriptMD5sum=$scriptMD5sum#" $logfile
Copy the Code


手工修改 /etc/default/grub 之后,执行此脚本去 update-grub2
Reply View the author
avatar
timmi
deepin
2017-12-01 20:49
#2
https://bbs.deepin.org/post/149296
不好意思,daemon.Grub2 是我开发的,我没有照顾grub2高端玩家的使用。我提供一个 脚本,可以停止daemon.gr ...

感谢大佬!
Reply View the author
avatar
deepin1604473591
deepin
2018-05-09 00:59
#3
https://bbs.deepin.org/post/149296
不好意思,daemon.Grub2 是我开发的,我没有照顾grub2高端玩家的使用。我提供一个 脚本,可以停止daemon.gr ...

兄弟,您可把我们坑了一波,只能进4.9内核的伤不起
Reply View the author