mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
Update chr.sh
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
5196f20043
commit
c1163894f3
1 changed files with 3 additions and 2 deletions
5
chr.sh
5
chr.sh
|
|
@ -50,5 +50,6 @@ read -p "Do you want to continue? [Y/n]: " confirm
|
|||
|
||||
dd if=chr.img of=/dev/$STORAGE bs=4M conv=fsync
|
||||
echo "Ok, rebooting..."
|
||||
echo 1 > /proc/sys/kernel/sysrq
|
||||
echo b > /proc/sysrq-trigger
|
||||
echo 1 > /proc/sys/kernel/sysrq 2>/dev/null || true
|
||||
echo b > /proc/sysrq-trigger 2>/dev/null || true
|
||||
reboot -f
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue