mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
net/keepalived: update keepalived.conf generation header
Add date info to keepalived config generated. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -371,7 +371,8 @@ process_config() {
|
|||||||
rm -f $KEEPALIVED_CONF
|
rm -f $KEEPALIVED_CONF
|
||||||
|
|
||||||
# First line
|
# 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
|
[ -f /etc/config/keepalived ] || return 0
|
||||||
config_load 'keepalived'
|
config_load 'keepalived'
|
||||||
|
|||||||
Reference in New Issue
Block a user