Fixed snapraid file missing

This commit is contained in:
Raphael Numbus
2025-12-07 12:34:33 +01:00
parent 6d7ffd267b
commit 3e5d02b2e2
+1 -1
View File
@@ -506,7 +506,7 @@ EOF
echo -e "\n ✅ Final disko configuration created."
# --> Generate automatic unlock configuration in ./nix-config/disks/snapraid.nix
if [[ "$NUMBER_OF_CONTENT_DISKS" -gt 0 || "$NUMBER_OF_PARITY_DISKS" -gt 0 ]]; then
if [[ "$NUMBER_OF_CONTENT_DISKS" -gt 1 || "$NUMBER_OF_PARITY_DISKS" -gt 0 ]]; then
echo -e "\n ✅ Generating automatic disk unlocking configuration..."
sed -i '$ d' ./nix-config/disks/snapraid.nix