diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-14 06:18:24 +0000 |
---|---|---|
committer | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-14 06:18:24 +0000 |
commit | 74a3127d8b2c7fdfb7692334acf3ce6594e5a508 (patch) | |
tree | 5bb6efaf8af970333515bc3957dbfda38d985351 /rc.inet1 | |
parent | b60bfb27a37211c62548bc7cc7dcc16f63271c11 (diff) | |
download | slacknetsetup-74a3127d8b2c7fdfb7692334acf3ce6594e5a508.tar.xz |
Update documentation. Default BONDMODE to balance-rr. Update rc.inet1.conf.
Diffstat (limited to 'rc.inet1')
-rw-r--r-- | rc.inet1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -189,8 +189,8 @@ bond_create() { info_log "${IFNAME[$1]}: creating bond" debug_log "/sbin/ip link add name ${IFNAME[$1]} type bond" /sbin/ip link add name ${IFNAME[$1]} type bond - debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bond mode ${BONDMODE[$1]}" - /sbin/ip link set dev ${IFNAME[$1]} type bond mode ${BONDMODE[$1]} + debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bond mode ${BONDMODE[$1]:-balance-rr}" + /sbin/ip link set dev ${IFNAME[$1]} type bond mode ${BONDMODE[$1]:-balance-rr} for BONDIF in ${BONDNICS[$1]}; do debug_log "/sbin/ip address flush dev $BONDIF" /sbin/ip address flush dev $BONDIF |