aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Repository scheme updated to new layoutDavid Kaspar [Dee'Kej]2018-05-303-1144/+0
| | | | | NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.
* netconsole: LSB header addedDavid Kaspar [Dee'Kej]2018-05-171-0/+7
| | | | | | Since we are using systemd, the Default-Start/Stop keywords were omitted. Basically the LSB header is quite similar to LSB header of network service...
* network.service: 'reload' removedDavid Kaspar [Dee'Kej]2018-04-261-2/+2
| | | | More info: https://bugzilla.redhat.com/show_bug.cgi?id=1554690
* init.d/functions: fix sourcing for kshDavid Kaspar [Dee'Kej]2018-02-131-2/+7
| | | | More info: https://bugzilla.redhat.com/show_bug.cgi?id=1518429
* network: add knob to optionally keep interfaces up during shutdown (#154)Davide Cavalca2017-12-041-0/+9
| | | * network: add knob to optionally keep interfaces up during shutdown
* Avoid some unnecessary stat callsVille Skyttä2017-10-301-2/+2
|
* sysconfig/init* files droppedDavid Kaspar [Dee'Kej]2017-10-161-2/+11
| | | | | Users can still create the /etc/sysconfig/init file manually to override the default values, which are now taken from init.d/functions.
* init.d/functions: is_true() & is_false() extended by ON/OFF supportDavid Kaspar [Dee'Kej]2017-08-071-2/+2
| | | | | In some cases we are using "on" or "off" as values. is_true() and is_false() can be used for evaluation of these values as well.
* init.d/functions: convert2sec() function addedDavid Kaspar [Dee'Kej]2017-08-071-0/+16
| | | | | | | | | | And network-scripts/network-functions was patched to use convert2sec(). This function can be used to convert the value of its first parameter to a number of seconds - based on the time unit (specified as the second parameter). This is mostly useful for converting values for use with the sleep(1).
* Replace /var/run with /run everywhereZbigniew Jędrzejewski-Szmek2017-08-031-5/+5
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1471489
* Add *.old to list of ignored filesDavid Kaspar [Dee'Kej]2017-05-251-2/+2
|
* Replace usleep(1) calls with sleep(1) callsDavid Kaspar [Dee'Kej]2017-05-251-2/+2
| | | | | The time units had to be manually converted from microseconds to seconds. Hopefully this was done right.
* killproc/status: add missing '-b <binary>' optionDavid Kaspar [Dee'Kej]2017-03-281-5/+30
| | | | Taken from RHEL-6.9, for forward compatibility.
* network: don't put down network when /usr is remote-fsLukas Nykryn2016-11-011-6/+3
| | | | | | | | | Nowadays /usr is a essential part of system and if it is on network, we need to unmount it in shutdown dracut. Also parsing /etc/mtab does not work anymore. Fixes: rhbz#1369790
* netconsole: resolve domain name via 'getent' instead of 'hosts'David Kaspar [Dee'Kej]2016-11-011-3/+20
|
* Support boolean values in is_true() & is_false() functionsDavid Kaspar [Dee'Kej]2016-10-121-2/+2
|
* network: remove tabs and fix spacingDavide Cavalca2016-10-121-202/+202
|
* functions: remote tabs and fix spacingDavide Cavalca2016-10-121-430/+435
|
* functions: more reliable systemd detection logicDavide Cavalca2016-10-061-1/+1
|
* network: unset NM_CONTROLLEDLukas Nykryn2016-09-121-1/+1
|
* functions: systemctl show now returns an error when unit does not existLukas Nykryn2016-08-021-1/+2
|
* network: run after network-pre.targetLukas Nykryn2016-07-131-1/+1
| | | | see man systemd.special
* functions: improve killing loopsLukas Nykryn2016-06-021-25/+73
|
* network: Treat other tunnel interfaces, fixes ifdown stageRodrigo Freire2016-03-081-2/+2
| | | | | | | | | | This patch is a complement of commit 5e9dd516e2e0 ("add bonding & xDSL to the list of devices brought up afterwards (#97030,#91399)"), ensuring that GRE and IPIP tunnels are brought up after base interfaces are up, and bring down before the underlying interface goes down. Signed-off-by: Rodrigo Freire <rfreire@redhat.com>
* init.d/functions: end with 0Lukas Nykryn2015-11-091-0/+1
|
* service: improve status and stop function for daemon with intscriptsLukas Nykryn2015-09-111-1/+8
| | | | | | When daemon abnormally dies systemd leaves it in active state. This is due to support of initscripts like network. We can guess if it is a daemon or not.
* init.d/functions: reload systemd if it can't see an initscriptLukas Nykryn2015-08-261-0/+4
| | | | | | | | In good old times it was enough to drop initscript to /etc/rc.d/init.d and call service start. Now you need to reload systemd before. For compatibility purposes we should check if systemd knows about the initscript and if not call systemctl daemon-reload automatically.
* network: modem type interfaces should explicitly start after and stop before ↵Lukas Nykryn2015-05-251-2/+2
| | | | common interfaces
* network: tell NM to reload its configuration during startLukas Nykryn2015-05-111-0/+5
|
* clarify daemon() usage messageFilip Krska2015-05-041-2/+2
|
* init.d/functions: rc.debug option to debug initscriptsLukas Nykryn2015-02-271-0/+3
|
* network: report that we can't shut down network for root on netfsLukas Nykryn2015-02-271-3/+2
|
* network: tell nm to wake the slavesLukas Nykryn2014-07-241-1/+2
|
* init.d/functions: check parent dir of pid file for accessibilityLukas Nykryn2014-04-301-0/+3
|
* network: detect if / is on netfsLukas Nykryn2014-04-011-0/+2
|
* network: try to not compete with NM during bootLukas Nykryn2014-03-111-1/+1
|
* Delete IPX support.Bill Nottingham2014-01-151-20/+0
| | | | | | | Conflicts: rc.d/init.d/network sysconfig.txt sysconfig/network-scripts/ifup-ipx
* don't care about network filesystemsLukas Nykryn2013-07-261-9/+0
|
* Clear DEVICE and TYPE variables before every iteration (#902463)Václav Pavlín2013-01-221-2/+1
|
* Clear DEVICE and TYPE variables after using them in cycle (#902463)Václav Pavlín2013-01-221-0/+2
|
* Killproc -d should parse same values as sleepLukas Nykryn2012-08-071-2/+6
|
* Drop more unused functions, and drop old s-c-n profile support directories.Bill Nottingham2012-08-062-44/+0
| | | | The profile support itself was removed a while ago.
* Remove more now-unused functions from init.d/functions (crypto/dm)Bill Nottingham2012-08-061-180/+0
|
* Drop fstab-decode and getkey; no longer used.Bill Nottingham2012-08-061-65/+0
| | | | Drop the umount loop from rc.d/init.d/functions.
* Initial removal of support for non-systemd systems.Bill Nottingham2012-08-067-1236/+0
|
* Tweak wording.Bill Nottingham2012-04-231-1/+1
|
* Move default sysctl.conf to /usr/lib/sysctl.d, adjust things accordingly. ↵Bill Nottingham2012-04-201-5/+20
| | | | | | (#760254) Also, update apply_sysctl to 1) use systemd-sysctl if it's there 2) imitate it if it's not.
* Drop net-tools requirement; check for /sbin/route before calling legacy ↵Bill Nottingham2012-04-201-3/+7
| | | | static-route support. (#682308)
* Make sure there's no headings in the findmnt output.Bill Nottingham2012-03-091-1/+1
|
* If /dev/stderr also isn't readable, don't bother with consoletype.Bill Nottingham2012-03-091-1/+1
|