added a sleep before carp sync
This commit is contained in:
@@ -130,6 +130,8 @@ rrd_configure(true);
|
|||||||
|
|
||||||
|
|
||||||
printf("Done Setting WAN to Static based on the DHCP information. \n");
|
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");
|
printf("Starting the CARP Sync. \n");
|
||||||
$syncStatus = trim(shell_exec('configctl system ha_reconfigure_backup'));
|
$syncStatus = trim(shell_exec('configctl system ha_reconfigure_backup'));
|
||||||
printf("CARP Sync Status: %s. \n", $syncStatus);
|
printf("CARP Sync Status: %s. \n", $syncStatus);
|
||||||
|
|||||||
Reference in New Issue
Block a user