mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
Merge pull request #94 from marineam/brctl
bump(net-misc/bridge-utils): sync with upstream
This commit is contained in:
commit
3920bcce70
@ -1,6 +1,40 @@
|
||||
# ChangeLog for net-misc/bridge-utils
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/bridge-utils/ChangeLog,v 1.59 2013/03/06 17:27:03 ssuominen Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/bridge-utils/ChangeLog,v 1.69 2013/09/14 19:28:31 ssuominen Exp $
|
||||
|
||||
14 Sep 2013; Samuli Suominen <ssuominen@gentoo.org> -bridge-utils-1.2.ebuild,
|
||||
-bridge-utils-1.4.ebuild, -files/bridge-utils-1.0.6-allow-without-sysfs.patch,
|
||||
-files/bridge-utils-1.0.6-dont-error-on-no-ports.patch, -files/bridge.conf,
|
||||
-files/bridge.rc:
|
||||
old
|
||||
|
||||
14 Sep 2013; Agostino Sarubbo <ago@gentoo.org> bridge-utils-1.5.ebuild:
|
||||
Stable for ia64, wrt bug #483892
|
||||
|
||||
08 Sep 2013; Markus Meier <maekke@gentoo.org> bridge-utils-1.5.ebuild:
|
||||
arm stable, bug #483892
|
||||
|
||||
06 Sep 2013; Jeroen Roovers <jer@gentoo.org> bridge-utils-1.5.ebuild:
|
||||
Stable for HPPA (bug #483892).
|
||||
|
||||
06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> bridge-utils-1.5.ebuild:
|
||||
Stable for sparc, wrt bug #483892
|
||||
|
||||
06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> bridge-utils-1.5.ebuild:
|
||||
Stable for ppc64, wrt bug #483892
|
||||
|
||||
06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> bridge-utils-1.5.ebuild:
|
||||
Stable for ppc, wrt bug #483892
|
||||
|
||||
06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> bridge-utils-1.5.ebuild:
|
||||
Stable for x86, wrt bug #483892
|
||||
|
||||
06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> bridge-utils-1.5.ebuild:
|
||||
Stable for amd64, wrt bug #483892
|
||||
|
||||
06 Sep 2013; Robin H. Johnson <robbat2@gentoo.org> bridge-utils-1.4.ebuild,
|
||||
bridge-utils-1.5.ebuild:
|
||||
Safety workaround for bug #483692 while 1.5 is stabilized.
|
||||
|
||||
06 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> bridge-utils-1.5.ebuild,
|
||||
+files/bridge-utils-1.5-linux-3.8.patch:
|
||||
|
@ -1,27 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX bridge-utils-1.0.6-allow-without-sysfs.patch 1013 SHA256 94189e72b9e3a87cf0d2aadc81ad833a9c0bd22153625eac172cb7f5585e0bef SHA512 1a546830a680264657f51fdba25102c497471bad7064bb9ef082cd0636ec608f3b40c985518ebb08e299fe1c50eab2dad28c7e5a4e0a9917dc5bea2e5fd78794 WHIRLPOOL 56ad5ca693ef0f9fe5cee3396902cc99bd0c0e01e4922df6cc0a1c29ea186c460203b2e9e41780718995b05c10cc51ed7a2c43a31c2a1349ae23c14ec048052a
|
||||
AUX bridge-utils-1.0.6-dont-error-on-no-ports.patch 330 SHA256 12987879314b68d49adbc650c565cdaf12e5a0d9280de158e367ca194ef70226 SHA512 e7e0b67f5a5a068a776c8ddea7b729ca6b14a5df17fa343bf253e4b672593b5e6491536e59334f4bed63a0df10bc0ba705921bdef34273edb7daf0a614f7bb2e WHIRLPOOL ac724f2767ef973a810743e118191482f5af398ca165157856f7d0c7fd0d28d88d7a63e0cfba9406907d8f715e721d3a6a288717c25b2de385ef92d08ee6800e
|
||||
AUX bridge-utils-1.5-linux-3.8.patch 435 SHA256 ce60b2328784307ad7a408fad96c0e0165b7740d1e4aaadb3cf2d6e6feaef235 SHA512 dea1668cc0b76b1f88e7040262e3056db278000df2680e8d3a1596b6821e7f8213a0e67ae26ffc23950b848c2ccc5dabf61baf6c40159eecfb7c22118dec2635 WHIRLPOOL 056fdf262ac2765a6996d54da8014d1f52d72d646ac215476dfb14bdb983fd0c8283ff61a056d3d909ef9a9cd1f0cb7cc08db112e4f477204d8a94371edf84ea
|
||||
AUX bridge.conf 106 SHA256 db4b0898067342cee89b7cc938a24dbfccecc688e01c75097cbae1c1ea6af6c5 SHA512 3ee97868aa7e7b3a9b6cb0504649500fbeacbca68fa1f0ec5f836fd39abef5bbbd1b847e3d2e39c3c01e56949d9cb36dfd78f78d7671360d7cdd3bcbafac5d82 WHIRLPOOL 2b2d4be78f81cef56fc9da46810bc9e4fb9f788b693bdb70f1ed0eedc42311e82f7ba26afb080c90e0c096a66ba851f1b831dfd24ed2864beebbc32679bcdd10
|
||||
AUX bridge.rc 939 SHA256 1280585cb84c05dee625a40be8316f8e3a8e2c870b67a80ed278233b7571141e SHA512 c970b875086e7416012b8093089b384b79707223140520459875138233cf1223566cb620cdfb364f77afc962a99e7edcd4e9e4cfde78da432663e25e9e1c8e49 WHIRLPOOL 8f1680a043b6c0778fe365692cea4c56f83cefc1c2aa7e9e19e82946cc6e81e0514bfe218d13356a892cb7631576e42b376442246af431a21257c2fc37a608e6
|
||||
DIST bridge-utils-1.2.tar.gz 32261 SHA256 c93b9fab6b12a80bcf69114aab66d1d298455e9269c44f9e5f6430c142f9e349
|
||||
DIST bridge-utils-1.4.tar.gz 32657 SHA256 876975e9bcc302aa8b829161ea3348b12b9b879f1db0dc98feaed8d0e5dd5933
|
||||
DIST bridge-utils-1.5.tar.gz 33243 SHA256 42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688 SHA512 4e525fbd3defb509664ef3b728d9e5edfb92beaebdb5d7733d8203fb38cb3f4bb54d02dc1e28813889a2ee19c78b9b47da6d99c8032481a7fd7f104658dea7c3 WHIRLPOOL f11eb95ae9b562cb301bb1f657d87878f0a0729a2129b90fa5957747f078f3afe2ebdadd1eb7ea4a59e544acc8194cf1744126db9ba3f3704210bc18ee3480fa
|
||||
EBUILD bridge-utils-1.2.ebuild 1452 SHA256 bb3b73d012dc1e3e2527ea93148a227dc67525bdff4555e9a6af697f76429af7 SHA512 26c08bed9f94010c3b3523bb2b691f92b65c00afaf6d2c3a18778b02c8f734f778c96cf06042724d9b4c9c726cdb35885a13a0a5add6a92a97d91023ada982bd WHIRLPOOL 5f1353d59e33e97539c7852bc637b3f4c757377a04a1a557895c8141e9804ae5158677d8b695033a10de60a2f413a59abb1bc06cd439d6ca73364ec91a49494d
|
||||
EBUILD bridge-utils-1.4.ebuild 1468 SHA256 23db52a6ada35ac875ecb06663769af7c1c375e51862e9119040ede84fee8655 SHA512 26d26d93b404839acb684f9e9ba220c686a1300a51bfa479d0e663b3bff6ff3a5ad3ded5f410ff05a6133081761df0efb1abe6bec946f9b0d0c6e455b8aecd7b WHIRLPOOL 533c8d36df929030b9172bc0706a26cb1cbcd8113bd362c2201e0ab3f806ff32b091a6ff7d0796e08ff11649cb16bd65508aa19105a63b599050d25f1d5f48d3
|
||||
EBUILD bridge-utils-1.5.ebuild 1283 SHA256 000720eee844b312e7dbe64eb1c2ba80badb95afe1ef39e0c82ca9e4de94cff9 SHA512 3212e82d0ce608b5ccfa173c3e16f053222df0abe099fd089f28f81d5949cd7b9469a27e7defda5fe9583d641afea55b6d9856d9689c22b0b074096522118813 WHIRLPOOL acc72fc69f83b00a02c1986cc773f355057364924fd5eef464135195260c376b3ef7e36c10dd5e644e5a47f790a76f21afdaaa17d0c8c8d487d3aff6d6bfe3ed
|
||||
MISC ChangeLog 8743 SHA256 d164a728b2b2378e55be1411feb25e9ffeb6a13594e5b2d87e3176ddef918e5d SHA512 2f3089a0e882a5cecf03bfabc23f92dee7b6e807dded3fd72ed0c851677605180c2d80a6ce937ba88b438b2a0dac9bd3a259931e0a1d3e71039984e33c0d7b7a WHIRLPOOL 814b8e9b34eed3793eded674b1f5bba2bc664ac987dfefb66b809967ae3bcbb1708b2c0c6b901e29cecea9e7becaec71ecfdafb77458becfa921af8884285535
|
||||
EBUILD bridge-utils-1.5.ebuild 1348 SHA256 964593444fa0ce3b17971a6cced1129fe27e1f98561a51cf5fe7594be4380588 SHA512 38f1c65d21c7341216f9514ca4d63af34b16f9c42ba5b2f329620b683a6c5b561c6615a53d2cb227bbf5bc6ddab53350fefe00dd30294ab561207f34b8d97c73 WHIRLPOOL 9a9ab906e29948473611f0926144238a50be1f6064e70042a3b63489589bce7f34c3ee3b5493723f278c3f04f686df9eea9b9993f844b62f1df812344688a038
|
||||
MISC ChangeLog 10043 SHA256 d8a990a138f6371c79f30f85432c2fa28be3674dc030f96a8cccd6bb6a1045dd SHA512 645127cac4ddfa1aa2609b1f19c1f78b6b92239beee2755bae8d2dd2f5f2e6bc37a457a3eef25dc310a5c902d7318d2bb708d112cc482880fa73b7af4ec3fb6b WHIRLPOOL 95b5aedb759001d4ca347f5ef97612c87469ce983792f7f7970ae8aa891c6941af2f608424ce9982eca60f710d10964b3204ffe318a82c2e7b6f1da5158fa306
|
||||
MISC metadata.xml 227 SHA256 eb6179099f91f31168c95bd4a018a01f37aa1eb8d9ba8d3ed039056bac71bcf8 SHA512 1e52da091741cb67f6a61955ebf0c314c3634d5cab187a27820fa76f36307cb9c404271360de061f9b2076dfa1e4f3fadb46a3834ad9fc6685fbc437e5c7c789 WHIRLPOOL 0baafc1e244b376dc66e10952a10ec634fabb384431da1bec9be95bb344109c7943c6e74ae249070a9c5ee93410714e2c9343a65e01309bac7918239b6492820
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.21 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJRN3v+AAoJEEdUh39IaPFNPWoH/i6AjT8ZbFr5yDT9oD5h78ix
|
||||
IDdey2CtkElke3A/GLO78yGVizbr/aQSzXit7yB8guF4+Uv81EqIfLEBYNk7oQoj
|
||||
3Qe9l3d/DpqhfsdoAeISY6MXsWmqqu8VU1SD1pLg5nNoH1hza6KrQZ88+t/Dd49s
|
||||
oANnrq01Xny3zEdA2JTJaGehJsk1XEzU6/CgblH8YbuGc3qCbqjAlS8gjKMQBKTZ
|
||||
B2gZ+tiEZ2G+vcpMKjRzR+APez+dN8fbeIu6qtdEyY7g5DFWMcvwvYCCKRwquRIm
|
||||
xU2xeZ+4IruBHy7Q94jef/2esBiSEkho64Q5JInMMl+nStMTkhtQ6S3DecAnnEs=
|
||||
=YKKq
|
||||
iQEcBAEBCAAGBQJSNLjKAAoJEEdUh39IaPFNbwUH/A3N466sG0G++uY3im+K0T81
|
||||
x2rMMAwxj46VqNfUr9l4jo6kqXOiTaw2D+k4Mg3EkQ3qYht5dEiq0eeZl3z0tuD/
|
||||
V+pTXcRil9sC30i5pUzyQlzpsMX3b6LH5+oxKavx5lVTbbIv2VX6QG7v6wwsC5mr
|
||||
MZI7zTgu4qraB7rxQOTWRdK3ybk0OLjyDeL0Ow59kMggsigaSw8TOhrqsOqCJn0Q
|
||||
WA40hFqgf1tEDJE85Dipa9f4ASjCS+lENP1BSsPK0xaezUMfXl+pxA/AlGExZ8cq
|
||||
u25ix4ygsTEeHaKCSpaIgO2FH/O1QwzF5ZAWtxNkuZu16nmZ+a8/t/SAakNigUA=
|
||||
=yknD
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/bridge-utils/bridge-utils-1.2.ebuild,v 1.12 2008/09/30 06:48:15 robbat2 Exp $
|
||||
|
||||
# I think you want CONFIG_BRIDGE in your kernel to use this ;)
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
|
||||
HOMEPAGE="http://bridge.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/bridge/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ia64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/os-headers
|
||||
>=sys-devel/autoconf-2.59"
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
WANT_AUTOMAKE=1.9 eautomake || die "Failed to run autoconf"
|
||||
WANT_AUTOCONF=2.5 eautoconf || die "Failed to run autoconf"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# use santitized headers and not headers from /usr/src
|
||||
econf \
|
||||
--prefix=/ \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--includedir=/usr/include \
|
||||
--with-linux-headers=/usr/include \
|
||||
|| die "econf failed"
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake install DESTDIR="${D}" || die "make install failed"
|
||||
#einstall prefix=${D} libdir=${D}/usr/lib includedir=${D}/usr/include
|
||||
dodoc AUTHORS ChangeLog README THANKS TODO
|
||||
dodoc doc/{FAQ,FIREWALL,HOWTO,PROJECTS,RPM-GPG-KEY,SMPNOTES,WISHLIST}
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
ewarn "This package no longer provides a separate init script."
|
||||
ewarn "Please utilize the new bridge support in baselayout."
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/bridge-utils/bridge-utils-1.4.ebuild,v 1.10 2010/09/19 19:34:13 xmw Exp $
|
||||
|
||||
inherit toolchain-funcs eutils autotools linux-info
|
||||
|
||||
DESCRIPTION="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
|
||||
HOMEPAGE="http://bridge.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/bridge/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm hppa ia64 ppc sparc x86 ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/os-headers"
|
||||
RDEPEND=""
|
||||
|
||||
CONFIG_CHECK="~BRIDGE"
|
||||
WARNING_BRIDGE="CONFIG_BRIDGE is required to get bridge devices in the kernel"
|
||||
|
||||
get_headers() {
|
||||
CTARGET=${CTARGET:-${CHOST}}
|
||||
dir=/usr/include
|
||||
tc-is-cross-compiler && dir=/usr/${CTARGET}/usr/include
|
||||
echo "${dir}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# use santitized headers and not headers from /usr/src
|
||||
econf \
|
||||
--prefix=/ \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--includedir=/usr/include \
|
||||
--with-linux-headers="$(get_headers)" \
|
||||
|| die "econf failed"
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake install DESTDIR="${D}" || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog README THANKS TODO
|
||||
dodoc doc/{FAQ,FIREWALL,HOWTO,PROJECTS,RPM-GPG-KEY,SMPNOTES,WISHLIST}
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
ewarn "This package no longer provides a separate init script."
|
||||
ewarn "Please utilize the new bridge support in baselayout."
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/bridge-utils/bridge-utils-1.5.ebuild,v 1.3 2013/03/06 17:27:03 ssuominen Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/bridge-utils/bridge-utils-1.5.ebuild,v 1.12 2013/09/14 07:42:52 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/bridge/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/os-headers"
|
||||
@ -46,4 +46,5 @@ src_install () {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc AUTHORS ChangeLog README THANKS TODO \
|
||||
doc/{FAQ,FIREWALL,HOWTO,PROJECTS,RPM-GPG-KEY,SMPNOTES,WISHLIST}
|
||||
[ -f "${D}"/sbin/brctl ] || die "upstream makefile failed to install binary"
|
||||
}
|
||||
|
@ -1,27 +0,0 @@
|
||||
This patch provides a means of forcing bridge-utils to compile without sysfs.
|
||||
Patch by Robin H. Johnson <robbat2@gentoo.org>
|
||||
--- bridge-utils-1.0.6.orig/configure.in 2005-03-16 12:15:46.000000000 -0800
|
||||
+++ bridge-utils-1.0.6/configure.in 2005-08-05 12:19:48.000000000 -0700
|
||||
@@ -26,12 +26,17 @@
|
||||
AC_CHECK_FUNCS(if_nametoindex if_indextoname)
|
||||
|
||||
dnl Check for libsysfs
|
||||
+
|
||||
+AC_ARG_WITH( sysfs, [ --without-sysfs Disallow use of libsysfs],[],[])
|
||||
+
|
||||
+if test "${with_sysfs}" != "no" ; then
|
||||
AC_CHECK_HEADER(sysfs/libsysfs.h,
|
||||
- [AC_CHECK_LIB(sysfs, sysfs_open_directory,
|
||||
- [AC_DEFINE(HAVE_LIBSYSFS)
|
||||
- LIBS="$LIBS -lsysfs"],
|
||||
- [AC_MSG_WARN([Missing sysfs library!])])],
|
||||
- [AC_MSG_WARN([Missing /usr/include/sysfs/libsysfs.h])])
|
||||
+ [AC_CHECK_LIB(sysfs, sysfs_open_directory,
|
||||
+ [AC_DEFINE(HAVE_LIBSYSFS)
|
||||
+ LIBS="$LIBS -lsysfs"],
|
||||
+ [AC_MSG_WARN([Missing sysfs library!])])],
|
||||
+ [AC_MSG_WARN([Missing /usr/include/sysfs/libsysfs.h])])
|
||||
+fi
|
||||
|
||||
|
||||
AC_SUBST(KERNEL_HEADERS)
|
@ -1,12 +0,0 @@
|
||||
--- libbridge/libbridge_init.c.orig 2005-07-05 14:15:23.000000000 +0100
|
||||
+++ libbridge/libbridge_init.c 2005-07-05 14:28:30.000000000 +0100
|
||||
@@ -230,7 +230,8 @@
|
||||
|
||||
links = sysfs_get_dir_links(dir);
|
||||
if (!links) {
|
||||
- err = -ENOSYS;
|
||||
+ /* We may not have any ports assigned, so we don't error */
|
||||
+ err = errno;
|
||||
goto out;
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
#Examples
|
||||
#
|
||||
#bridge="br100 br1000"
|
||||
#
|
||||
#bridge_br100_devices="eth3 eth4"
|
||||
#bridge_br1000_devices="eth5 eth6"
|
@ -1,47 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
depend() {
|
||||
use modules
|
||||
}
|
||||
|
||||
start() {
|
||||
for b in ${bridge}
|
||||
do
|
||||
ebegin "Create Bridge ${b}"
|
||||
/sbin/brctl addbr ${b} || {
|
||||
retval=$?
|
||||
eend ${retval} "Failed to create bridge ${b}"
|
||||
continue
|
||||
}
|
||||
for i in $(eval echo \$\{bridge_${b}_devices\})
|
||||
do
|
||||
/sbin/brctl addif ${b} ${i} || {
|
||||
retval=$?
|
||||
eend ${retval} "Failed to add interface ${i}"
|
||||
continue
|
||||
}
|
||||
ifconfig ${i} 0.0.0.0 promisc || \
|
||||
eend $? "Failed to set up interface ${i}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
stop() {
|
||||
for b in ${bridge}
|
||||
do
|
||||
ebegin "Destroy Bridge ${b}"
|
||||
for i in $(eval echo \$\{bridge_${b}_devices\})
|
||||
do
|
||||
ifconfig ${i} down || \
|
||||
eend $? "Failed to set down interface ${i}"
|
||||
/sbin/brctl delif ${b} ${i} || {
|
||||
retval=$?
|
||||
eend ${retval} "Failed to del interface ${i}"
|
||||
return ${retval}
|
||||
}
|
||||
done
|
||||
/sbin/brctl delbr ${b} || \
|
||||
eend ${retval} "Failed to destroy bridge ${b}"
|
||||
done
|
||||
eend $? "Failed to stop bridge"
|
||||
}
|
Loading…
Reference in New Issue
Block a user