From 395efe87f8767daffed5632c24791ef53348b05a Mon Sep 17 00:00:00 2001 From: Ing Date: Mon, 24 Apr 2023 04:43:13 +0800 Subject: [PATCH] mod readme, add grub show cmdline. --- README.md | 5 +++++ files/board/arpl/overlayfs/opt/arpl/init.sh | 2 +- files/board/arpl/p1/grub/grub.cfg | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 373a5bbe..f0585f0a 100644 --- a/README.md +++ b/README.md @@ -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 * diff --git a/files/board/arpl/overlayfs/opt/arpl/init.sh b/files/board/arpl/overlayfs/opt/arpl/init.sh index 7ce57dcd..25e7aa40 100755 --- a/files/board/arpl/overlayfs/opt/arpl/init.sh +++ b/files/board/arpl/overlayfs/opt/arpl/init.sh @@ -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}" diff --git a/files/board/arpl/p1/grub/grub.cfg b/files/board/arpl/p1/grub/grub.cfg index 3c8f60a1..33020b92 100644 --- a/files/board/arpl/p1/grub/grub.cfg +++ b/files/board/arpl/p1/grub/grub.cfg @@ -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 {