keepalived: add script security param to fix warning
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 29 Apr 2020 17:40:46 +0000 (19:40 +0200)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Mon, 4 May 2020 07:07:00 +0000 (09:07 +0200)
commit1b1ba710632f8f4850f02c22e83734a6c8b5c41a
tree12ed20cd8d8052a81b32bd05757167d74b77a34d
parentcc9e4d3b822378e7c787d107c4ce0c86e438099e
keepalived: add script security param to fix warning

Openwrt is a single user system. So keepalived is runnig as root.
If we add the config options `script_user root` and
`enabled_script_security' the following warnings are gone.

> local1.info Keepalived_vrrp[5382]: SECURITY VIOLATION - scripts are
being executed but script_security not enabled.

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