Skip to content

Commit

Permalink
[reboot] No need enable the Linux magic system request key (sonic-net…
Browse files Browse the repository at this point in the history
…#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 <yozhao@microsoft.com>
  • Loading branch information
yozhao101 committed Apr 4, 2021
1 parent e0f678a commit 12fc01e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/reboot
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 12fc01e

Please sign in to comment.