aboutsummaryrefslogtreecommitdiff
path: root/net/bridge.sh
AgeCommit message (Collapse)Author
2013-08-13Remove gentoo's net.* scriptsWilliam Hubbs
It has been determined that it will be best for gentoo's net.* scripts to be in a separate package to allow independent development. This package will be called netifrc and maintained by Gentoo.
2012-10-10net/{bridge,iproute2}: Stricter iproute2 ip link syntax & promisc handlingRobin H. Johnson
The 'dev' argument is only optional for ethX devices, for others it is mandatory, so we should always include it. Also tweak when promisc mode is applied to bridges. Patches submitted by Denis Kaganovich <mahatma@bspu.unibel.by>. X-Gentoo-Bug: #431204 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=431204 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-01-08net: net.lo, lots of scriptsRobin H. Johnson
The program function in depend blocks is now able to search paths by itself. If passed multiple arguments or multiple calls, at least one of the arguments passed must be a program or a shell builtin (eg ip built into busybox). If a qualified path is specified, only that path will be checked, otherwise it will be checked as a builtin, then $PATH will be checked for the named binary (via type). Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-02-05bridge.sh: use correct POSIX test, = not ==Christian
X-Gentoo-Bug: 353124 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=353124
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-12Final documentation cleanup for updated bridge code.Robin H. Johnson
Specifically document how to handle the case of explicitly starting a bridge and then dynamically adding interfaces to it. brctl_br0='' bridge_add_eth0='br0'
2010-12-11Revamp of bridging code.Robin H. Johnson
- Use sysfs to read bridge information from the system instead of parsing the brctl outputs. - Allow setting of all bridge configuration parameters using new sysfs methods, modelled after bonding configuration. Also works for per-port bridge interface parameters. - Document pre-starting an empty bridge for dynamic add. - Check for interface existence before adding to bridge. - Should fix bug #293046, #309185.
2010-02-09Allow bridge interfaces to be called bridge.Trevor Summers Smith
2009-05-01Add (c) to CopyrightRoy Marples
2008-09-21Typo.Roy Marples
2008-09-18Allow an empty bridge with no options, Gentoo #237485.Roy Marples
2008-03-26Merge net.OS into netRoy Marples