allow skipping of phase 1

This commit is contained in:
Chris
2020-01-11 02:19:08 +01:00
parent f01b685820
commit 76c0f6cec1

View File

@@ -43,7 +43,8 @@ if(defined('ENCRYPTION_KEY') && ENCRYPTION_KEY)
echo "[i] Encryption key found. Will encrypt on Storage controllers\n";
}
if(!in_array('p2',$argv))
{
echo "[i] PHASE 1\n";
echo " [P1] Files from Storage controllers will be downloaded if they don't exist localy\n";
sleep(1);
@@ -85,7 +86,8 @@ foreach($controllers as $contr)
echo "\n ----------- END OF PHASE 1 -----------\n\n";
}
else echo "[i] Skipping Phase 1\n";
echo "[i] PHASE 2\n";
echo " [P2] Local files are synced to all storage controllers\n";