mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-23 23:10:58 +07:00
feat: Configure sizes for multiple disks
This commit is contained in:
parent
895bc04a57
commit
db47f561d3
@ -182,7 +182,7 @@ if [ -d "$(dirname "${EXTRA_DISK}")" ]; then
|
||||
if [ ! -f "${EXTRA_DISK}" ]; then
|
||||
[ -z "$EXTRA_SIZE" ] && EXTRA_SIZE="16G"
|
||||
if ! truncate -s "${EXTRA_SIZE}" "${EXTRA_DISK}"; then
|
||||
error "Could not create the file for the second disk." && exit 53
|
||||
error "Could not create the file for the third disk." && exit 54
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user