aboutsummaryrefslogtreecommitdiff
path: root/net/bonding/files
diff options
context:
space:
mode:
authorVladislav Grigoryev <vg.aetera@gmail.com>2021-08-20 07:07:47 +0300
committerVladislav Grigoryev <vg.aetera@gmail.com>2021-08-24 00:17:15 +0300
commit4f4722e36f433eb83322238460ee8b72da879fb6 (patch)
treef55df81253bb5dac8c35325857eb57a333ccdf15 /net/bonding/files
parentd96ae81d241e0f42789a70029ab5636ef1d64231 (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-xnet/bonding/files/lib/netifd/proto/bonding.sh4
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" ] || {