modified: chr.sh

This commit is contained in:
elseif
2026-09-23 10:22:54 +08:00
parent b0f87cf35d
commit 40f2886e62
+2 -1
View File
@@ -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
}