From e518c65b5825ae86704a606e0b1ca25dc9d500f0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 16 Nov 2017 11:03:25 +0100 Subject: [PATCH] net/keepalived: update keepalived.conf generation header Add date info to keepalived config generated. Signed-off-by: Florian Eckert --- net/keepalived/files/keepalived.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/keepalived/files/keepalived.init b/net/keepalived/files/keepalived.init index 8f50161cd..ee0eb049e 100644 --- a/net/keepalived/files/keepalived.init +++ b/net/keepalived/files/keepalived.init @@ -371,7 +371,8 @@ process_config() { rm -f $KEEPALIVED_CONF # First line - printf "! Configuration File for keepalived (autogenerated via init script)\n\n" > $KEEPALIVED_CONF + printf "! Configuration file for keepalived (autogenerated via init script)\n" > $KEEPALIVED_CONF + printf "! Written %s\n\n" "$(date +'%c')" >> $KEEPALIVED_CONF [ -f /etc/config/keepalived ] || return 0 config_load 'keepalived'