Commit bff62d42 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add hard-reset.sh

parent f21cff0d
#!/bin/sh
[ "$1" = "assure" ] || exit
echo 1 > /proc/sys/kernel/sysrq
echo "Force reboot"
echo "5 seconds pause to interrupt (use Ctrl-C)..."
sleep 5 || exit
echo b > /proc/sysrq-trigger
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment