diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2021-03-07 22:44:05 +0000 |
---|---|---|
committer | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2021-03-07 22:44:05 +0000 |
commit | 9dca929b5f27a65c762ff3408a7a4c3d96a0bf4c (patch) | |
tree | 4d14bcf94c0c8be51df692a6590b71625d040edb | |
parent | e8ea45830d8223d2a3b9c25955ce24853650625b (diff) | |
download | slacknetsetup-9dca929b5f27a65c762ff3408a7a4c3d96a0bf4c.tar.xz |
Fix a typo in br_open when configuring IFOPTS: i->1.
-rw-r--r-- | rc.inet1 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ br_open() { debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bridge $IFOPT" /sbin/ip link set dev ${IFNAME[$1]} type bridge $IFOPT fi - done <<<"${IFOPTS[$i]/%|*([[:blank:]])}|" # The | on the end is required. + done <<<"${IFOPTS[$1]/%|*([[:blank:]])}|" # The | on the end is required. # Don't bring up the interface if it will be brought up later during IP configuration. # This prevents a situation where SLAAC takes a while to apply if the interface is already up. if [ -z "${IPADDRS[$1]}" ] && [ -z "${IP6ADDRS[$1]}" ] && [ -z "${IPADDR[$1]}" ] && [ "${USE_DHCP[$1]}" != "yes" ] && [ "${USE_DHCP6[$1]}" != "yes" ] && [ "${USE_SLAAC[$1]}" != "yes" ]; then |