Compare commits

..
Author SHA1 Message Date
elseif c91013d697 modified: chr.sh 2026-09-23 10:41:55 +08:00
elseif 40f2886e62 modified: chr.sh 2026-09-23 10:22:54 +08:00
+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=$(ls /sys/block | grep -vE '^(zram|loop|ram|sr|fd|dm-)' | head -1)
ask_until "$MSG_STORAGE_DEVICE" "$STORAGE"
STORAGE=$resp
}