1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 11:23:57 +02:00

Merge pull request #16408 from vgaetera/iface-bond

bonding: use shorter interface prefix
This commit is contained in:
Rosen Penev 2021-08-23 14:50:46 -07:00 committed by GitHub
commit 48d404cd1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=proto-bonding
PKG_VERSION:=2021-04-09
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=

View File

@ -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" ] || {