Created
March 24, 2025 01:21
-
-
Save AndreiCherniaev/a825549bf32209688aa32bb72021ff38 to your computer and use it in GitHub Desktop.
Ask kernel to rebooot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
напрямую направить ядру запрос о перезагрузке устройства с помощью sysrq | |
#!/system/bin/sh | |
echo 1 > /proc/sys/kernel/sysrq | |
echo b > /proc/sysrq-trigger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment