added a sleep before carp sync

This commit is contained in:
2021-11-30 14:44:13 -05:00
parent eb63bbd580
commit fdbd3f9f65

View File

@@ -130,6 +130,8 @@ rrd_configure(true);
printf("Done Setting WAN to Static based on the DHCP information. \n");
printf("Sleeping for 30 seconds. \n");
sleep(30)
printf("Starting the CARP Sync. \n");
$syncStatus = trim(shell_exec('configctl system ha_reconfigure_backup'));
printf("CARP Sync Status: %s. \n", $syncStatus);