Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't use ethtool to check for device w/bonding driver; just check that the ↵ | Bill Nottingham | 2010-02-15 | 1 | -1/+1 |
| | | | | | | | passed device exists. If they have a device that already exists but isn't a bond, the later add will fail anyway. | ||||
* | Don't use ethtool to check link ; operate on the carrier sysfs attribute. | Bill Nottingham | 2010-02-15 | 1 | -20/+1 |
| | |||||
* | Fix various device checks to not misidentify devices. | Bill Nottingham | 2010-02-12 | 1 | -14/+4 |
| | | | | | Also, don't use ifconfig for checking link state on alias devices; /sbin/ip does fine with that. | ||||
* | If HWADDR is set and DEVICE is not, use HWADDR to determine DEVICE. (#545597) | Bill Nottingham | 2010-01-22 | 1 | -6/+7 |
| | |||||
* | Eliminate bunch of unnecessary stat calls and command invocations. | Ville Skyttä | 2010-01-12 | 1 | -1/+1 |
| | |||||
* | Get rid of uses of deprecated egrep and fgrep. | Ville Skyttä | 2010-01-12 | 1 | -1/+1 |
| | |||||
* | Fix some bashisms. | Ville Skyttä | 2010-01-07 | 1 | -4/+4 |
| | |||||
* | Use sysfs rather than iwconfig for wireless check | Adel Gadllah | 2010-01-04 | 1 | -3/+1 |
| | |||||
* | Silence error. (#516569) | Bill Nottingham | 2009-12-15 | 1 | -1/+1 |
| | |||||
* | Remove IUCV support. (#507217) | Bill Nottingham | 2009-10-26 | 1 | -3/+0 |
| | |||||
* | Load bonding driver if BONDING_OPTS is defined. (#516569) | Bill Nottingham | 2009-10-20 | 1 | -0/+2 |
| | |||||
* | Use $(( )) for arithmetic statements instead of let or $[ ]. | Victor Lowther | 2009-07-30 | 1 | -3/+3 |
| | |||||
* | Use $() instead of `` for process expansion. | Bill Nottingham | 2009-07-30 | 1 | -19/+19 |
| | | | | Adapted from <victor.lowther@gmail.com>. | ||||
* | Don't use mii-tool for link status; only use ethtool. | Bill Nottingham | 2009-07-02 | 1 | -13/+3 |
| | | | | Essentially a consequence of bug #491358. | ||||
* | Explicitly source from the proper directory. (#496233) | Bill Nottingham | 2009-04-21 | 1 | -2/+2 |
| | |||||
* | Handle full paths in need_config/source_config by normalizing them (#483257) | Bill Nottingham | 2009-03-16 | 1 | -2/+3 |
| | | | | | | This broke when we fixed the source commands for bash 4. It's not as having configurations outside of /etc/sysconfig/network-scripts was supported, so just normalize any full path passed in to look there. | ||||
* | Remove support for 'ifcfg-foo-bar' configurations that automatically inherit ↵ | Bill Nottingham | 2009-03-16 | 1 | -10/+0 |
| | | | | | | | | from 'ifcfg-foo'. 1) I'm not sure of anything at all that ever supported this except for manual configuration. 2) '-' is a valid character in ethernet device names. So you can't have 'ifcfg-eth0-2' files that work. 3) Having it work for every '-' separated combination, except those that end in 'g' is just strange. | ||||
* | Use a leading path marker when sourcing files. (#482826) | Bill Nottingham | 2009-01-28 | 1 | -4/+4 |
| | | | | bash 4 breaks the prior code. | ||||
* | fixed typo in get_config_by_subchannel() | Harald Hoyer | 2008-11-25 | 1 | -1/+1 |
| | |||||
* | fixed SUBCHANNEL grep for s390 | Harald Hoyer | 2008-11-12 | 1 | -1/+3 |
| | |||||
* | fixed bug #459044 | Harald Hoyer | 2008-11-11 | 1 | -1/+1 |
| | | | | refined the grep statement | ||||
* | Remove reference to rename_device. | Bill Nottingham | 2008-10-03 | 1 | -1/+0 |
| | | | | rename_device no longer exists. | ||||
* | https://bugzilla.redhat.com/show_bug.cgi?id=447928 | Harald Hoyer | 2008-09-16 | 1 | -1/+1 |
| | | | | | | | | All networking scripts from /etc/sysconfig/network-scripts call logger without full path. This can prevent system from booting if let's say dcc is installed when compiled with wrong parameters and installs /usr/sbin/logger (see bellow) It's not really a bug but this can be easily prevented. All /etc/init.d scripts use full path for logger network-scripts should use it also | ||||
* | Use 0.0.0.0/0, not 0/0. (#460580) | Bill Nottingham | 2008-09-03 | 1 | -1/+1 |
| | | | | Updated iproute doesn't like the old syntax. | ||||
* | Don't try to rename devices - udev rules are the way to go | Bill Nottingham | 2008-05-23 | 1 | -33/+0 |
| | |||||
* | add sit tunnel type (#441635) | Bill Nottingham | 2008-04-09 | 1 | -0/+3 |
| | |||||
* | restore file context on /etc/resolv.conf (#230776, <dwalsh@redhat.com>) | Bill Nottingham | 2007-04-16 | 1 | -0/+1 |
| | |||||
* | fix logic | Bill Nottingham | 2007-02-22 | 1 | -1/+1 |
| | |||||
* | simplify bonding test (#215887, <herbert.xu@redhat.com>) | Bill Nottingham | 2007-01-23 | 1 | -4/+1 |
| | |||||
* | don't run ethtool if there's no device. Prevents reloading the module | Bill Nottingham | 2006-11-06 | 1 | -0/+1 |
| | | | | on ifdown called by udev on device unregistration. | ||||
* | use sysfs interface for bonding (#202443, <agospoda@redhat.com>) | Bill Nottingham | 2006-10-18 | 1 | -0/+13 |
| | |||||
* | move ccwgroup initialization to a udev rule (#199139, #199655, #169161) | Bill Nottingham | 2006-09-27 | 1 | -31/+6 |
| | |||||
* | make test for bonding device a function | Bill Nottingham | 2006-08-01 | 1 | -0/+7 |
| | |||||
* | support LINKDELAY for dhcp (#191137) | Bill Nottingham | 2006-08-01 | 1 | -1/+3 |
| | |||||
* | Consistently exclude backup files when globbing | Miloslav Trmac | 2006-07-27 | 1 | -2/+6 |
| | |||||
* | Simplify the regexp a little | Miloslav Trmac | 2006-07-26 | 1 | -1/+1 |
| | |||||
* | Handle ifcfg files not named ifcfg-$DEVICE (based on a patch by | Miloslav Trmac | 2006-07-26 | 1 | -2/+10 |
| | | | | | Michal Jaegermann <michal@harddata.com>) Return only the basename of the ifcfg file, even if looked up by HWADDR. | ||||
* | Avoid an unnecessary cat / sed. | Miloslav Trmac | 2006-07-26 | 1 | -10/+8 |
| | |||||
* | Oops, set $alias like the previous version did. Document this part of the | Miloslav Trmac | 2006-07-26 | 1 | -2/+4 |
| | | | | interface. | ||||
* | Use the alias value to lookup an install line. | Miloslav Trmac | 2006-07-26 | 1 | -5/+12 |
| | | | | | Use string comparisons instead of regexp matches in the awk conditions, speeding up the awk program several times. | ||||
* | Allow (:) as a "do-nothing" module install command (patch by Michal Jaegermann | Miloslav Trmac | 2006-07-26 | 1 | -1/+2 |
| | | | | <michal@harddata.com>) | ||||
* | GRE and IPIP tunnel support (#168990, based on patches by | Miloslav Trmac | 2006-07-25 | 1 | -2/+4 |
| | | | | | | | Razvan Corneliu C.R. Vilt <razvan.vilt@linux360.ro>, Aaron Hope <aaron.hope@unh.edu> and Sean Millichamp <sean@enertronllc.com>) check_device_down: Handle tunnel_device@NONE: <...> | ||||
* | Add METRIC= support for default routes (#124045) | Miloslav Trmac | 2006-05-10 | 1 | -8/+14 |
| | | | | | | | | | * ifup-ppp, network-functions: Save all default routes, lose no data. * network-functions: - (find_gateway_dev): Fix - it should find the device while $GATEWAY is not the default route - (add_default_route): Don't use configuration for the device that is being brought down; document function purpose and bugs. | ||||
* | don't hang if we try to rename a device that's already up | Bill Nottingham | 2006-03-17 | 1 | -0/+1 |
| | |||||
* | silence!r8-30 | Bill Nottingham | 2006-02-28 | 1 | -2/+2 |
| | |||||
* | array variables are bad. use $IFS with '/', as that is illegal in | Bill Nottingham | 2006-02-28 | 1 | -10/+18 |
| | | | | net device names. coalesce some things into a function. | ||||
* | Fix potentials for endless loops when you have multiple devices | Bill Nottingham | 2006-02-28 | 1 | -6/+10 |
| | | | | | | | | that claim to have the same hardware address. (#177792, #182466) This happens most with hostap_cs and similar wireless drivers that have ethX/wlanX *and* wifiX. Do this by ignoring ieee802.11 links. Also, use /sbin/ip, not nameif - it gets confused in these cases as well. | ||||
* | don't cause the module to get reloaded on ifdown if it's not loaded | Bill Nottingham | 2006-02-28 | 1 | -2/+2 |
| | | | | (#179809) | ||||
* | fix loop when change_resolve_conf is supplied the same DNS address | Bill Nottingham | 2006-02-10 | 1 | -0/+1 |
| | | | | multiple times (Michael Reinsch, via <oblin@mandriva.com>) | ||||
* | remove references to /usr/X11R6/bin (#177938) | Bill Nottingham | 2006-01-31 | 1 | -1/+1 |
| |