cleanup
# Create a configuration with the LFC enabled, by replacing the section
# with the lfc-interval and persist parameters.
- LFC_CONFIG=$(printf "${CONFIG}" | sed -e 's/\"lfc-interval\": 0/\"lfc-interval\": 1/g' \
+ LFC_CONFIG=$(printf "${CONFIG}" | sed -e 's/\"lfc-interval\": 0/\"lfc-interval\": 3/g' \
| sed -e 's/\"persist\": false/\"persist\": true/g')
# Create new configuration file.
create_config "${LFC_CONFIG}"
sleep 1
# Modify the interval.
- LFC_CONFIG=$(printf "${LFC_CONFIG}" | sed -e 's/\"lfc-interval\": 1/\"lfc-interval\": 2/g')
+ LFC_CONFIG=$(printf "${LFC_CONFIG}" | sed -e 's/\"lfc-interval\": 3/\"lfc-interval\": 4/g')
# Create new configuration file.
create_config "${LFC_CONFIG}"
cleanup
# Create a configuration with the LFC enabled, by replacing the section
# with the lfc-interval and persist parameters.
- LFC_CONFIG=$(printf "${CONFIG}" | sed -e 's/\"lfc-interval\": 0/\"lfc-interval\": 1/g' \
+ LFC_CONFIG=$(printf "${CONFIG}" | sed -e 's/\"lfc-interval\": 0/\"lfc-interval\": 3/g' \
| sed -e 's/\"persist\": false,/\"persist\": true,/g')
# Create new configuration file.
create_config "${LFC_CONFIG}"
sleep 1
# Modify the interval.
- LFC_CONFIG=$(printf "${LFC_CONFIG}" | sed -e 's/\"lfc-interval\": 1/\"lfc-interval\": 2/g')
+ LFC_CONFIG=$(printf "${LFC_CONFIG}" | sed -e 's/\"lfc-interval\": 3/\"lfc-interval\": 4/g')
# Create new configuration file.
create_config "${LFC_CONFIG}"