diff --git a/functions/openhabian.bash b/functions/openhabian.bash index bcca8774b..085437720 100644 --- a/functions/openhabian.bash +++ b/functions/openhabian.bash @@ -441,9 +441,9 @@ config_ipv6() { local sysctlConf="/etc/sysctl.d/99-sysctl.conf" local dhcpcdConf="/etc/dhcpcd.conf" - echo -n "$(timestamp) [openHABian] Making sure route advertisments are available... " + echo -n "$(timestamp) [openHABian] Making sure route advertisements are available... " if ! grep -qs "net.ipv6.conf.all.accept_ra = 1" "$sysctlConf"; then - echo -e "\\n# Enable IPv6 route advertisments\\n# This is needed for proper discovery with the Matter binding\\nnet.ipv6.conf.all.accept_ra = 1\\nnet.ipv6.conf.all.accept_ra_rt_info_max_plen = 64" >> "$sysctlConf" + echo -e "\\n# Enable IPv6 route advertisements\\n# This is needed for proper discovery with the Matter binding\\nnet.ipv6.conf.all.accept_ra = 1\\nnet.ipv6.conf.all.accept_ra_rt_info_max_plen = 64" >> "$sysctlConf" fi if ! grep -qs "^[[:space:]]*# Disable IPv6" "$dhcpcdConf" && [[ "${1:-${ipv6:-enable}}" == "disable" ]]; then echo -e "\\n# Disable IPv6\\nnoipv6rs\\nnoipv6" >> /etc/dhcpcd.conf