aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
Commit message (Collapse)AuthorAgeFilesLines
* Repository scheme updated to new layoutDavid Kaspar [Dee'Kej]2018-05-301-72/+0
| | | | | NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.
* ifdown-post: fix logical error in commit 5d61564David Kaspar [Dee'Kej]2018-01-021-1/+1
| | | | | | | Empty ${RESOLV_MODS} was causing a deletion of config files in /etc/ppp/peers/* Resolves: #155
* network-functions: use POSIX forwarding instead of bash-ismDavid Kaspar [Dee'Kej]2017-11-091-1/+1
|
* ifup-post: always update nameserver & search entries in /etc/resolv.confDavid Kaspar [Dee'Kej]2017-10-311-18/+22
| | | | | | | | | | | | | | | | | | | | | | This is complete rework of how we generate the /etc/resolv.conf. Fixes: * always update 'nameserver' & 'search' entries when DNS* & DOMAIN options (respectively) were updated in ifcfg-* files * always update the order of 'nameserver' entries when the order of DNS* options was updated * always keep /etc/resolv.conf.save as a proper backup - do not overwrite it everytime when updating 'nameserver' or 'search' Enhancements: * added support for DNS3 option (equals to MAXNS value in GLIBC) * added logic to process duplicate DNS* options * added logic to process randomly omitted DNS* options (e.g. omitting DNS1 while specifying DNS2 and/or DNS3 will still work now) This work was based on these two RHEL-7.5 BZs: https://bugzilla.redhat.com/show_bug.cgi?id=1364895 https://bugzilla.redhat.com/show_bug.cgi?id=1357658
* network-scripts: forward DBus calls to /dev/nullDavid Kaspar [Dee'Kej]2017-10-311-1/+2
|
* network-scripts: firewall-cmd replaced with DBus callsDavid Kaspar [Dee'Kej]2017-10-161-3/+6
| | | | | To speed things up. Based on patch & comments from: https://bugzilla.redhat.com/show_bug.cgi?id=1497759
* [3/3] Remove tabs and fix spacing: ifup/ifdown scriptsPhil Dibowitz2016-10-121-18/+20
|
* ifdown-post: remove resolv.conf only in specific casesLukas Nykryn2015-01-081-1/+2
|
* Fix calling of firewall-cmd in ifup-post/ifdown-post.Jiri Popelka2012-10-081-1/+1
| | | | firewall-cmd has been using combined longopts since 0.2.6
* Add quotes to device/zone in the firewalld support.Bill Nottingham2012-03-161-1/+1
|
* Add support for firewalld zones. (#802415, from <jpopelka@redhat.com>)Bill Nottingham2012-03-131-0/+5
| | | | | | | | | | ZONE in an ifcfg file describes the zone an interface should belong to. Zones can be configured in the firewalld configuration file. When interfaces are brought up, tell firewalld, if running, to add them to the proper zone. Similarly, remove them when they're brought down. Modified from a patch from Jiri Popelka.
* pass path to '.' always (#206035)Bill Nottingham2006-09-111-1/+1
|
* Add support for rule-$device (#132252)Miloslav Trmac2006-07-101-0/+10
|
* Add METRIC= support for default routes (#124045)Miloslav Trmac2006-05-101-2/+4
| | | | | | | | | * 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.
* handle saved resolv.conf on all device typesBill Nottingham2005-02-011-3/+5
|
* use change_resolv_confJason Vas Dias2004-08-031-1/+1
|
* revertBill Nottingham2004-07-301-1/+1
|
* fix for bug 125712: added change_resolv_conf function to network-functions; ↵Jason Vas Dias2004-07-301-1/+1
| | | | made ipup-post and ipdown-post invoke it
* allow default window size for routes to be set with WINDOW=... (#98112)Bill Nottingham2003-06-271-2/+2
|
* support randomly named network devices, part 1Bill Nottingham2003-06-241-2/+0
| | | | | | | - use nameif - determine device type from file first, and from device name as a fallback - ditto for aliases
* - set PATH also in /etc/sysconfig/network-scripts/network-functionsFlorian La Roche2002-06-261-2/+0
|
* - fix ISDN dial on demand bugr6-32Than Ngo2001-08-291-1/+10
| | | | - fix typo bug in network-functions
* * fix channel bundlingr6-14Than Ngo2001-08-101-4/+3
|
* - don't set MSN if it' empty (it's now optional)Than Ngo2001-08-101-0/+4
| | | | | - don't give login name as a cmdline-option (Bug #23066) - remove peer device file if ppp connection is down
* add_default_route now takes a device as an argumentPreston Brown2001-05-111-1/+1
|
* remove /etc/resolv.conf.save after the ippp connection downThan Ngo2000-04-041-1/+4
|
* fix overwrite problem of resolv.conf on ippp/ppp/slip connectionsThan Ngo2000-04-041-0/+6
|
* PATH is not set -> added PATH=/sbin:/usr/sbin:/bin:/usr/binThan Ngo2000-02-211-0/+2
|
* * sysconfig/network-scripts/ifdown-post:Nalin Dahyabhai2000-01-311-0/+5
| | | | | | | | | | | | | attempt to reset the default route in case we dropped it for PPP * src/ipcalc.1: document the "--silent" option * src/shvar.c: strtok() and other cleanups * rc.d/rc.sysinit: make symlinks for System.map and module-info automatically
* add support for an ifdown-localBill Nottingham1999-09-131-0/+4
|
* Always "cd /etc/sysconfig/network-scripts" before sourcing network_functions.Jeff Johnson1998-07-071-1/+1
|
* PPP debugging fixed.Michael K. Johnson1997-11-061-11/+4
| | | | | PPP Persisting fixed. Moved netreport stuff into one place.
* Support alternative device configurations.Michael K. Johnson1997-09-181-1/+4
|
* Initial revisionErik Troan1997-09-161-0/+18