|
@ -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' |
|
|