代码拉取完成,页面将自动刷新
From a222a636e9d3cf5ccad652e9126446f2be5a16a2 Mon Sep 17 00:00:00 2001
From: nilusyi <nilusyi@tencent.com>
Date: Sun, 7 Apr 2024 11:17:52 +0800
Subject: [PATCH 270/272] revert Add the "t" hotkey
no need of this function
Signed-off-by: nilusyi <nilusyi@tencent.com>
---
Makefile.util.def | 6 ------
util/grub.d/00_header.in | 3 ---
util/grub.d/95_textmode.in | 12 ------------
3 files changed, 21 deletions(-)
delete mode 100644 util/grub.d/95_textmode.in
diff --git a/Makefile.util.def b/Makefile.util.def
index d557c268b..5ecba7c9e 100644
--- a/Makefile.util.def
+++ b/Makefile.util.def
@@ -591,12 +591,6 @@ script = {
installdir = grubconf;
};
-script = {
- name = '95_textmode';
- common = util/grub.d/95_textmode.in;
- installdir = grubconf;
-};
-
script = {
name = 'grub-systemd-integration.service';
common = util/systemd/grub-systemd-integration.service.in;
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index 1eec16dad..f402d2072 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -222,9 +222,6 @@ EOF
fi
cat << EOF
- if [ "\${grub_platform}" = "efi" ]; then
- echo "Please press 't' to show the boot menu on this console"
- fi
set gfxmode=${GRUB_GFXMODE}
load_video
diff --git a/util/grub.d/95_textmode.in b/util/grub.d/95_textmode.in
deleted file mode 100644
index d6c1dbf00..000000000
--- a/util/grub.d/95_textmode.in
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-cat <<EOF
-if [ "\${grub_platform}" = "efi" ]; then
- # On EFI systems we can only have graphics *or* serial, so allow the user
- # to switch between the two
- hiddenentry 'Text mode' --hotkey 't' {
- set textmode=true
- terminal_output console
- }
-fi
-EOF
--
2.41.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。