Update reset.sh

This commit is contained in:
Kroese 2024-06-12 22:10:27 +02:00 committed by GitHub
parent 674f9e4010
commit 7ea6041893
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,6 +196,8 @@ hasDisk() {
[ -b "/disk1" ] && return 0
[ -b "/dev/disk1" ] && return 0
[ -s "/boot.img" ] && return 0
[ -s "/boot.qcow2" ] && return 0
[ -b "${DEVICE:-}" ] && return 0
[ -s "$STORAGE/data.img" ] && return 0
[ -s "$STORAGE/data.qcow2" ] && return 0