Browse Source

keepalived: add new option vrrp_startup_delay

Redmine-patch-id: 3441
Add new global option vrrp_startup_delay to the uci.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 5 years ago
parent
commit
344114ae81
2 changed files with 9 additions and 2 deletions
  1. +1
    -0
      net/keepalived/files/keepalived.config
  2. +8
    -2
      net/keepalived/files/keepalived.init

+ 1
- 0
net/keepalived/files/keepalived.config View 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"


+ 8
- 2
net/keepalived/files/keepalived.init View 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() {


Loading…
Cancel
Save