aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
Commit message (Collapse)AuthorAgeFilesLines
* Fix some bashisms.Ville Skyttä2010-01-071-4/+4
|
* Use sysfs rather than iwconfig for wireless checkAdel Gadllah2010-01-041-3/+1
|
* Silence error. (#516569)Bill Nottingham2009-12-151-1/+1
|
* Remove IUCV support. (#507217)Bill Nottingham2009-10-261-3/+0
|
* Load bonding driver if BONDING_OPTS is defined. (#516569)Bill Nottingham2009-10-201-0/+2
|
* Use $(( )) for arithmetic statements instead of let or $[ ].Victor Lowther2009-07-301-3/+3
|
* Use $() instead of `` for process expansion.Bill Nottingham2009-07-301-19/+19
| | | | Adapted from <victor.lowther@gmail.com>.
* Don't use mii-tool for link status; only use ethtool.Bill Nottingham2009-07-021-13/+3
| | | | Essentially a consequence of bug #491358.
* Explicitly source from the proper directory. (#496233)Bill Nottingham2009-04-211-2/+2
|
* Handle full paths in need_config/source_config by normalizing them (#483257)Bill Nottingham2009-03-161-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 Nottingham2009-03-161-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 Nottingham2009-01-281-4/+4
| | | | bash 4 breaks the prior code.
* fixed typo in get_config_by_subchannel()Harald Hoyer2008-11-251-1/+1
|
* fixed SUBCHANNEL grep for s390Harald Hoyer2008-11-121-1/+3
|
* fixed bug #459044Harald Hoyer2008-11-111-1/+1
| | | | refined the grep statement
* Remove reference to rename_device.Bill Nottingham2008-10-031-1/+0
| | | | rename_device no longer exists.
* https://bugzilla.redhat.com/show_bug.cgi?id=447928Harald Hoyer2008-09-161-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 Nottingham2008-09-031-1/+1
| | | | Updated iproute doesn't like the old syntax.
* Don't try to rename devices - udev rules are the way to goBill Nottingham2008-05-231-33/+0
|
* add sit tunnel type (#441635)Bill Nottingham2008-04-091-0/+3
|
* restore file context on /etc/resolv.conf (#230776, <dwalsh@redhat.com>)Bill Nottingham2007-04-161-0/+1
|
* fix logicBill Nottingham2007-02-221-1/+1
|
* simplify bonding test (#215887, <herbert.xu@redhat.com>)Bill Nottingham2007-01-231-4/+1
|
* don't run ethtool if there's no device. Prevents reloading the moduleBill Nottingham2006-11-061-0/+1
| | | | on ifdown called by udev on device unregistration.
* use sysfs interface for bonding (#202443, <agospoda@redhat.com>)Bill Nottingham2006-10-181-0/+13
|
* move ccwgroup initialization to a udev rule (#199139, #199655, #169161)Bill Nottingham2006-09-271-31/+6
|
* make test for bonding device a functionBill Nottingham2006-08-011-0/+7
|
* support LINKDELAY for dhcp (#191137)Bill Nottingham2006-08-011-1/+3
|
* Consistently exclude backup files when globbingMiloslav Trmac2006-07-271-2/+6
|
* Simplify the regexp a littleMiloslav Trmac2006-07-261-1/+1
|
* Handle ifcfg files not named ifcfg-$DEVICE (based on a patch byMiloslav Trmac2006-07-261-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 Trmac2006-07-261-10/+8
|
* Oops, set $alias like the previous version did. Document this part of theMiloslav Trmac2006-07-261-2/+4
| | | | interface.
* Use the alias value to lookup an install line.Miloslav Trmac2006-07-261-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 JaegermannMiloslav Trmac2006-07-261-1/+2
| | | | <michal@harddata.com>)
* GRE and IPIP tunnel support (#168990, based on patches byMiloslav Trmac2006-07-251-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 Trmac2006-05-101-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 upBill Nottingham2006-03-171-0/+1
|
* silence!r8-30Bill Nottingham2006-02-281-2/+2
|
* array variables are bad. use $IFS with '/', as that is illegal inBill Nottingham2006-02-281-10/+18
| | | | net device names. coalesce some things into a function.
* Fix potentials for endless loops when you have multiple devicesBill Nottingham2006-02-281-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 loadedBill Nottingham2006-02-281-2/+2
| | | | (#179809)
* fix loop when change_resolve_conf is supplied the same DNS addressBill Nottingham2006-02-101-0/+1
| | | | multiple times (Michael Reinsch, via <oblin@mandriva.com>)
* remove references to /usr/X11R6/bin (#177938)Bill Nottingham2006-01-311-1/+1
|
* get hwaddrs from sysfs as opposed to ip | sed, etc.Bill Nottingham2006-01-201-2/+8
|
* udev now loads modules - use that, remove the kmodule stuffBill Nottingham2005-12-211-4/+0
| | | | don't set hotplug, it can't possibly work
* fixed typo bugThan Ngo2005-09-271-1/+1
|
* deal with broken networks better (#168947)Bill Nottingham2005-09-221-5/+7
|
* throw out nameif error messagesBill Nottingham2005-09-211-2/+2
|
* fix grep to always match the full hwaddr, as opposed to matching '0'Bill Nottingham2005-05-101-2/+7
| | | | | | 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.