Skip to content

Commit 12fc01e

Browse files
authored
[reboot] No need enable the Linux magic system request key (sonic-net#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 <[email protected]>
1 parent e0f678a commit 12fc01e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/reboot

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ if [ -e $VMCORE_FILE -a -s $VMCORE_FILE ]; then
1717
fi
1818
# If no platform-specific reboot tool, just run /sbin/reboot
1919
/sbin/reboot
20-
echo 1 > /proc/sys/kernel/sysrq
2120
echo b > /proc/sysrq-trigger
2221
fi
2322

0 commit comments

Comments
 (0)