mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
mod readme, add grub show cmdline.
This commit is contained in:
parent
43c63f3045
commit
5267b8d67a
@ -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">
|
||||
|
@ -79,7 +79,7 @@ if [ ! -f "${USER_CONFIG_FILE}" ]; then
|
||||
writeConfigKey "model" "" "${USER_CONFIG_FILE}"
|
||||
writeConfigKey "build" "" "${USER_CONFIG_FILE}"
|
||||
writeConfigKey "sn" "" "${USER_CONFIG_FILE}"
|
||||
# writeConfigKey "maxdisks" "" "${USER_CONFIG_FILE}"
|
||||
# writeConfigKey "maxdisks" "" "${USER_CONFIG_FILE}"
|
||||
writeConfigKey "layout" "qwerty" "${USER_CONFIG_FILE}"
|
||||
writeConfigKey "keymap" "" "${USER_CONFIG_FILE}"
|
||||
writeConfigKey "zimage-hash" "" "${USER_CONFIG_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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user