Fix typo wi1th to with

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2023-06-18 19:10:46 -03:00
parent c21a85ed58
commit 7c48cd548f

View File

@@ -118,7 +118,7 @@ apply_FTL_Configs_From_Env(){
source /opt/pihole/COL_TABLE source /opt/pihole/COL_TABLE
declare -px | grep FTLCONF_ | sed -E 's/declare -x FTLCONF_([^=]+)=\"(|.+)\"/\1 \2/' | while read -r name value declare -px | grep FTLCONF_ | sed -E 's/declare -x FTLCONF_([^=]+)=\"(|.+)\"/\1 \2/' | while read -r name value
do do
# Replace underscores wi1th dots in the name to match pihole-FTL expectiations # Replace underscores with dots in the name to match pihole-FTL expectiations
name="${name//_/.}" name="${name//_/.}"
# Special handing for the value if the name is dns.upstreams # Special handing for the value if the name is dns.upstreams