feat: Add additional debug messages

This commit is contained in:
Kroese 2025-10-02 17:08:06 +02:00 committed by GitHub
parent 73c1fb480c
commit f7b7cbd628
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -522,7 +522,9 @@ addDevice () {
return 0
}
html "Initializing disks..."
msg="Initializing disks..."
html "$msg"
[[ "$DEBUG" == [Yy1]* ]] && echo "$msg"
[ -z "${DISK_OPTS:-}" ] && DISK_OPTS=""
[ -z "${DISK_TYPE:-}" ] && DISK_TYPE="scsi"