Skip to content

Commit

Permalink
[script] use / instead . in sysctl to avoid issues when interface…
Browse files Browse the repository at this point in the history
… name contains `.`
  • Loading branch information
erjiaqing committed Dec 10, 2023
1 parent 98db630 commit 7e44e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/_border_routing
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ readonly DHCPCD_CONF_BACKUP_FILE
accept_ra_install()
{
sudo tee $SYSCTL_ACCEPT_RA_FILE <<EOF
net.ipv6.conf.${INFRA_IF_NAME}.accept_ra = 2
net.ipv6.conf.${INFRA_IF_NAME}.accept_ra_rt_info_max_plen = 64
net/ipv6/conf/${INFRA_IF_NAME}/accept_ra = 2
net/ipv6/conf/${INFRA_IF_NAME}/accept_ra_rt_info_max_plen = 64
EOF
}

Expand Down

0 comments on commit 7e44e59

Please sign in to comment.