Created
February 12, 2016 21:49
-
-
Save waja/0156c2e0014d38e3f8fe to your computer and use it in GitHub Desktop.
Force Reboot (Magic SysRq keys)
This file contains hidden or 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
#!/bin/sh | |
echo u > /proc/sysrq-trigger ; sleep 2 ; echo s > /proc/sysrq-trigger ; \ | |
sleep 2 ; echo b > /proc/sysrq-trigger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment