mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-09-07 10:34:36 +00:00
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."
|
||||||
|
|||||||
Reference in New Issue
Block a user