net/keepalived: move track_interface generation into own section
authorFlorian Eckert <redacted>
Wed, 18 Oct 2017 14:00:38 +0000 (16:00 +0200)
committerFlorian Eckert <redacted>
Mon, 30 Oct 2017 14:40:25 +0000 (15:40 +0100)
commitd4e1c96cc489760bc46d382e4573ecb098c4bc17
treebeb247bca15fe1e71c0d20775a87af9333899a8e
parentb66372fb437830b9329c95956b8b8ce19ab10965
net/keepalived: move track_interface generation into own section

In a vrrp_instance the track_interface could not be referenced similar
to a track_script. The uci track_interface section must be always set
into every vrrp_instance.

During config generation use the already prepared function
"print_track_elem_indent" to write the track_interface section into every
vrrp_instance which references this.

Signed-off-by: Florian Eckert <redacted>
net/keepalived/files/keepalived.init
git clone https://git.99rst.org/PROJECT