From: Rishabh Date: Mon, 20 Apr 2026 17:32:26 +0000 (+0530) Subject: keepalived: update config for vrrp_script section X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=09143ea2b26c7236eb66d87dcb4fe9dab72877f1;p=openwrt-packages.git keepalived: update config for vrrp_script section Update config for vrrp_script in keepalived.config. Add option name, direction and timeout in config. Add some docs for option weight and option direction. Signed-off-by: Rishabh --- diff --git a/net/keepalived/files/keepalived.config b/net/keepalived/files/keepalived.config index db0257e5d..b96740431 100644 --- a/net/keepalived/files/keepalived.config +++ b/net/keepalived/files/keepalived.config @@ -161,11 +161,16 @@ config globals 'globals' # option accept "1" #config vrrp_script +# option name "vrrp_script1" # option script "" # option interval "5" +# weight will increase +10 if script status is OK, otherwise -10 # option weight "10" # option fall "2" # option rise "3" +# valid values for direction reverse|noreverse -- reverse flips weight change +# option direction "reverse" +# option timeout "5" #config virtual_server # option enabled "1"