modified: chr.sh

This commit is contained in:
elseif
2026-09-23 10:41:55 +08:00
parent 40f2886e62
commit c91013d697
+1 -1
View File
@@ -134,7 +134,7 @@ show_system_info() {
confirm_storage() {
# STORAGE=$(lsblk | grep disk | head -1 | awk '{print $1}')
STORAGE="/dev/$(ls /sys/block | grep -vE '^(zram|loop|ram|sr|fd|dm-)' | head -1)"
STORAGE=$(ls /sys/block | grep -vE '^(zram|loop|ram|sr|fd|dm-)' | head -1)
ask_until "$MSG_STORAGE_DEVICE" "$STORAGE"
STORAGE=$resp
}