aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-eth
Commit message (Collapse)AuthorAgeFilesLines
* Repository scheme updated to new layoutDavid Kaspar [Dee'Kej]2018-05-301-184/+0
| | | | | NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.
* ifdown-eth: no longer needed 'pidof -x dhclient' condition removedDavid Kaspar [Dee'Kej]2018-05-171-2/+2
| | | | | | | | | | Previously, there were 2 additional conditions related to this part of code, but they were removed in time, so this last condition has remained an artifact and is de-facto obsolete. However, the 'pidof -x dhclient' condition could cause the network service to hang on stop/restart when processes were executed from a network share... Removing that condition should hypothetically fix it.
* Replace /var/run with /run everywhereZbigniew Jędrzejewski-Szmek2017-08-031-6/+6
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1471489
* Replace usleep(1) calls with sleep(1) callsDavid Kaspar [Dee'Kej]2017-05-251-1/+1
| | | | | The time units had to be manually converted from microseconds to seconds. Hopefully this was done right.
* ifdown-eth: we need to flush global scope as wellLukas Nykryn2017-03-281-1/+4
| | | | ... but it is stuck some time
* Use the is_true() and is_false() functions where possibleDavid Kaspar [Dee'Kej]2016-10-121-1/+1
|
* [3/3] Remove tabs and fix spacing: ifup/ifdown scriptsPhil Dibowitz2016-10-121-79/+79
|
* ifdown-eth: fix comparisonLukas Nykryn2015-12-251-1/+1
|
* network-scripts: DEVICE and HWADRR could be quoted by apostropheLukas Nykryn2015-10-271-1/+1
|
* ifdown: clean ipv4 localhost addressesLukas Nykryn2015-10-151-7/+7
|
* ifdown-eth: use scope host for loLeon Kos2015-02-041-2/+7
|
* network: add support for team devicesJiri Pirko2014-03-311-0/+8
| | | | | | | | | | | | | | | | | | Currently, team masters and slaves are supported via ifup-Team* and ifdown-Team* scripts shipped in teamd package. It uses somehow ugly workaround where user have to specify DEVIVETYPE to "Team" or "TeamPort". This turned out to be non-optimal solution as this is confusing users. Also it does not work when TYPE is set. So fix this by adding the team support hooks directly into initscripts. Now for team port, user needs only to set: TEAM_MASTER="teamx" and for team master, user needs only to set: TEAM_CONFIG="...whatever..." Signed-off-by: Jiri Pirko <jiri@resnulli.us>
* replace tunctl with ip tuntap (#947875)Lukas Nykryn2013-04-091-1/+3
|
* call flush addresses with scope globalLukas Nykryn2013-04-031-2/+2
|
* Fix greps to correctly handle comments and quotationLukas Nykryn2013-02-261-1/+1
|
* Sync FSF address with GPL 2 text.Ville Skyttä2013-01-201-1/+1
|
* Be less strict about VLAN name (#505314)Václav Pavlín2012-09-051-4/+1
|
* Allow bridge names starting with a dashDan Kenigsberg2012-06-131-2/+2
| | | | | | | | Misguided people may name their bridge '-foo', with a leading dash. Let us indulge them. It is better than showing the usage string of brctl. Signed-off-by: Dan Kenigsberg <danken@redhat.com>
* Don't accidentally match other bonding devices. (#824175)Bill Nottingham2012-05-231-1/+1
|
* Use NetworkManager-compatible lease file names by default.Bill Nottingham2012-03-091-1/+2
|
* Fix logic error with removing arp_ip_target (#745681)Bill Nottingham2011-10-131-1/+1
|
* Fix pid file usage for IPv6. (#729292, <daveg@dgit.ndo.co.uk>)Bill Nottingham2011-08-091-1/+1
|
* Fix patch misapplicationBill Nottingham2011-04-121-1/+1
|
* ifup/ifdown-eth: properly add and remove arp_ip_target'sHarald Hoyer2011-04-121-2/+19
| | | | | | | | | Only add arp_ip_target, if not yet present. Only remove arp_ip_target, if present in BONDING_OPTS, to prevent clash with module options. https://bugzilla.redhat.com/show_bug.cgi?id=604669
* Use net_log where appropriate.Bill Nottingham2011-03-251-2/+2
|
* Handle 'MASTER' being quoted. (#651450, <gfidente@redhat.com>)Bill Nottingham2011-01-121-1/+1
|
* use ip command for vlan instead of vconfigPetr Lautrbach2010-05-131-2/+2
|
* Eliminate bunch of unnecessary stat calls and command invocations.Ville Skyttä2010-01-121-3/+3
|
* Get rid of uses of deprecated egrep and fgrep.Ville Skyttä2010-01-121-3/+3
|
* Run '/sbin/dhclient -6' instead of /sbin/dhcp6c (#553017, ↵Bill Nottingham2010-01-081-10/+8
| | | | | | | | <dcantrell@redhat.com>) The ISC software is now used for DHCPv6 support, so run dhclient in DHCPv6 mode instead of the older /sbin/dhcp6c program. Still honor the same configuration variables.
* License cleanup.Bill Nottingham2010-01-051-1/+1
|
* Use $() instead of `` for process expansion.Bill Nottingham2009-07-301-8/+8
| | | | Adapted from <victor.lowther@gmail.com>.
* Add support for creating TUN/TAP devices on the fly (#453973, <scott@zahna.com>)Bill Nottingham2009-03-191-0/+4
|
* Remove arp_ip_target on ifdown for bonding devices. (#483711)Bill Nottingham2009-03-171-1/+3
|
* Cleanup bridges better on ifdown (#463325, <sean@bruenor@org>)Bill Nottingham2009-03-111-11/+11
|
* Remove 'exit 0' from bridge path, so that bridge + vlan works. (#481557, ↵Bill Nottingham2009-01-261-1/+0
| | | | <danken@redhat.com>)
* Make sure NEWCONFIG exists before grepping for it (#390271, continued)Bill Nottingham2008-03-181-1/+6
|
* typoBill Nottingham2007-11-271-1/+1
|
* don't endlessly loop on ifdown if devices are inconsistent (#390271)Bill Nottingham2007-11-261-1/+2
|
* license cleanupBill Nottingham2007-08-031-3/+9
|
* remove NETWORKING_IPV6Bill Nottingham2007-01-171-7/+5
|
* release bonding slaves properly (#220525)Bill Nottingham2007-01-041-0/+2
|
* use sysfs interface for bonding (#202443, <agospoda@redhat.com>)Bill Nottingham2006-10-181-1/+1
|
* pass path to '.' always (#206035)Bill Nottingham2006-09-111-1/+1
|
* bring down bonding slaves on ifdown (#199706)Bill Nottingham2006-08-011-0/+12
|
* Add support for DHCP on bridges (#125259, original patch by Anders KaseorgMiloslav Trmac2006-03-271-5/+4
| | | | | | | | | | | <anders@kaseorg.com>): - rc.d/init.d/network: Initialize bridges after bridged interfaces, deinitialize them before bridged interfaces - sysconfig/network-scripts/ifdown-eth: Destroy bridges lazily when the last bridged interface is stopped - sysconfig/network-scripts/ifup-eth: * Handle bridges before checking for module presence or wireless devices * Add bridges lazily when the first bridged interface is started
* don't cause the module to get reloaded on ifdown if it's not loadedBill Nottingham2006-02-281-7/+9
| | | | (#179809)
* use new dhclient file paths, add appropriate conflict (#169164)Bill Nottingham2005-11-281-1/+1
|
* clean up error message (#135167)Bill Nottingham2005-10-031-1/+1
|
* fix grep to always match the full hwaddr, as opposed to matching '0'Bill Nottingham2005-05-101-1/+1
| | | | | | against '00:AA:BB:CC:DD:EE'. Take into account lines that end with spaces, or with "# this is a comment", too. Also, put the grep in only one place instead of 3. Fixes #157252, #153669.