Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
  • Loading branch information
ecdye committed Oct 23, 2024
1 parent a7dc2b3 commit 9d9daaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/openhabian.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d9daaf

Please sign in to comment.