From 12fc01ecb8965ce7e895eff8eac6ea710814b2ea Mon Sep 17 00:00:00 2001 From: yozhao101 <56170650+yozhao101@users.noreply.github.com> Date: Sat, 3 Apr 2021 23:00:45 -0700 Subject: [PATCH] [reboot] No need enable the Linux magic system request key (#1538) As introduced by the kernel doc, we do not need the line 20 in reboot script since it only influenced the capability to reboot the Linux kernel by hitting the combo magic key of keyboard. Signed-off-by: Yong Zhao --- scripts/reboot | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/reboot b/scripts/reboot index 1384fb89e74f..24607fb09590 100755 --- a/scripts/reboot +++ b/scripts/reboot @@ -17,7 +17,6 @@ if [ -e $VMCORE_FILE -a -s $VMCORE_FILE ]; then fi # If no platform-specific reboot tool, just run /sbin/reboot /sbin/reboot - echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger fi