Fixed snapraid file missing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user