mod readme, add grub show cmdline.

This commit is contained in:
Ing 2023-04-24 04:43:13 +08:00
parent 43c63f3045
commit 5267b8d67a
3 changed files with 9 additions and 1 deletions

View File

@ -63,6 +63,11 @@
msgfmt lang/zh_CN.po -o lang/zh_CN.mo # This process will be automatically processed during packaging.
```
## 一些使用教程
* 中文: https://www.bilibili.com/video/BV1jk4y1Y7B7
##### `(From: http://mi-d.cn)`
## 打赏一下
* > ### 作者: Ing QQ群: 21609194 QQ频道: 0pg8m22666
* <img src="https://raw.githubusercontent.com/wjz304/wjz304/master/my/20220908134226.jpg" width="400">

View File

@ -73,11 +73,14 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
set timeout="1"
menuentry 'Boot DSM kernel directly' --id direct {
set_gfxpayload
echo "cmdline:"
echo "${dsm_cmdline}"
echo "Loading DSM kernel..."
linux /zImage-dsm ${dsm_cmdline}
echo "Loading DSM initramfs..."
initrd /initrd-dsm
echo "Booting..."
echo "Access http://find.synology.com/ to connect the DSM via web."
}
fi
menuentry 'Boot DSM' --id boot {