diff options
author | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-08-20 07:07:47 +0300 |
---|---|---|
committer | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-08-24 00:17:15 +0300 |
commit | 4f4722e36f433eb83322238460ee8b72da879fb6 (patch) | |
tree | f55df81253bb5dac8c35325857eb57a333ccdf15 /net/bonding/files | |
parent | d96ae81d241e0f42789a70029ab5636ef1d64231 (diff) |
bonding: use shorter interface prefix
Change the interface protocol prefix from "bonding-" to "bond-".
This allows longer custom interface names and useful for VLANs.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
Diffstat (limited to 'net/bonding/files')
-rwxr-xr-x | net/bonding/files/lib/netifd/proto/bonding.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bonding/files/lib/netifd/proto/bonding.sh b/net/bonding/files/lib/netifd/proto/bonding.sh index 04cec109c..43a1f77c5 100755 --- a/net/bonding/files/lib/netifd/proto/bonding.sh +++ b/net/bonding/files/lib/netifd/proto/bonding.sh @@ -90,7 +90,7 @@ proto_bonding_add_slave() { proto_bonding_setup() { local cfg="$1" - local link="bonding-$cfg" + local link="bond-$cfg" # Check for loaded kernel bonding driver (/sys/class/net/bonding_masters exists) [ -f "$BONDING_MASTERS" ] || { @@ -208,7 +208,7 @@ proto_bonding_setup() { proto_bonding_teardown() { local cfg="$1" - local link="bonding-$cfg" + local link="bond-$cfg" # Check for loaded kernel bonding driver (/sys/class/net/bonding_masters exists) [ -f "$BONDING_MASTERS" ] || { |