keepalived: add new option vrrp_startup_delay 8536/head
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 29 Mar 2019 12:25:57 +0000 (13:25 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 3 Apr 2019 09:18:23 +0000 (11:18 +0200)
Redmine-patch-id: 3441
Add new global option vrrp_startup_delay to the uci.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/keepalived/files/keepalived.config
net/keepalived/files/keepalived.init

index 5fde1f89d5d2b521480f3e06b0e635782bfa1b5f..7c1975ad5a616f768c5a607e9ba07c4625af755a 100644 (file)
@@ -10,6 +10,7 @@ config global_defs
 #      option vrrp_mcast_group4        "224.0.0.18" # optional, default 224.0.0.18
 #      option vrrp_mcast_group6        "f02::12"    # optional, default ff02::12
 #      option linkbeat_use_polling     "1"
+#      option vrrp_startup_delay       "5"
 
 #config ipaddress
 #      option name     "ipaddress0"
index 70e0b7310b979f96e1c68d3c82052393c2346455..4e63711f480ee9458308b478f72c04441d206a5d 100644 (file)
@@ -105,8 +105,14 @@ global_defs() {
        config_get notification_email $1 notification_email
        print_list_indent notification_email
 
-       print_elems_indent $1 $INDENT_1 notification_email_from smtp_server smtp_connect_timeout \
-                  router_id vrrp_mcast_group4 vrrp_mcast_group6
+       print_elems_indent $1 $INDENT_1 \
+               notification_email_from \
+               smtp_server \
+               smtp_connect_timeout \
+               router_id \
+               vrrp_mcast_group4 \
+               vrrp_mcast_group6 \
+               vrrp_startup_delay
 }
 
 print_ipaddress_indent() {