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
90dfb10d32
commit
0ff47ed53e
1 changed files with 0 additions and 1 deletions
1
chr.sh
1
chr.sh
|
|
@ -72,7 +72,6 @@ read confirm
|
||||||
[ "$confirm" = "n" ] && echo "Operation aborted." && exit 1
|
[ "$confirm" = "n" ] && echo "Operation aborted." && exit 1
|
||||||
|
|
||||||
dd if=chr.img of=/dev/$STORAGE bs=4M conv=fsync
|
dd if=chr.img of=/dev/$STORAGE bs=4M conv=fsync
|
||||||
sync || true
|
|
||||||
echo "Ok, rebooting..."
|
echo "Ok, rebooting..."
|
||||||
echo 1 > /proc/sys/kernel/sysrq 2>/dev/null || true
|
echo 1 > /proc/sys/kernel/sysrq 2>/dev/null || true
|
||||||
echo b > /proc/sysrq-trigger 2>/dev/null || true
|
echo b > /proc/sysrq-trigger 2>/dev/null || true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue