mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-09-25 11:38:13 +00:00
modified: chr.sh
This commit is contained in:
@@ -133,7 +133,8 @@ show_system_info() {
|
||||
}
|
||||
|
||||
confirm_storage() {
|
||||
STORAGE=$(lsblk | grep disk | head -1 | awk '{print $1}')
|
||||
# STORAGE=$(lsblk | grep disk | head -1 | awk '{print $1}')
|
||||
STORAGE="/dev/$(ls /sys/block | grep -vE '^(zram|loop|ram|sr|fd|dm-)' | head -1)"
|
||||
ask_until "$MSG_STORAGE_DEVICE" "$STORAGE"
|
||||
STORAGE=$resp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user