mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 10:39:40 +00:00
Update chr.sh
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
c5712825ba
commit
c2ec6d439c
2
chr.sh
2
chr.sh
@ -64,7 +64,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "WARNING: All data on /dev/$STORAGE will be lost!"
|
echo "WARNING: All data on /dev/$STORAGE will be lost!"
|
||||||
read -p "Do you want to continue? [Y/n]: " confirm
|
read -p "Do you want to continue? [Y/n]: " confirm < /dev/tty
|
||||||
confirm=${confirm:-Y}
|
confirm=${confirm:-Y}
|
||||||
if [[ "$confirm" =~ ^[Nn]$ ]]; then
|
if [[ "$confirm" =~ ^[Nn]$ ]]; then
|
||||||
echo "Operation aborted."
|
echo "Operation aborted."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user