aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
Commit message (Collapse)AuthorAgeFilesLines
* network: don't fail with IFDOWN_ON_SHUTDOWN (#269)Jan Macku2019-08-051-2/+2
|
* network: parsing of /proc/mounts returnedDavid Kaspar [Dee'Kej]2018-07-241-1/+6
| | | | | | | This partially reverts the commit 15eaf7ece, because systemd's generated unit files might have incorrect dependencies at some circumstances, thus causing diskless nfs-clients to hang while unmounting root filesystem after '$ service network stop'.
* netconsole: LSB header addedDavid Kaspar [Dee'Kej]2018-07-241-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: add knob to optionally keep interfaces up during shutdownDavide Cavalca2018-05-301-0/+9
| | | | Resolves: RHBZ#1583677
* network.service: 'reload' removedDavid Kaspar [Dee'Kej]2018-05-171-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
* Add *.old to list of ignored filesDavid Kaspar [Dee'Kej]2017-10-311-2/+2
|
* init.d/functions: convert2sec() function addedDavid Kaspar [Dee'Kej]2017-10-311-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).
* init.d/functions: is_true() & is_false() extended by ON/OFF supportDavid Kaspar [Dee'Kej]2017-10-311-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.
* Replace usleep(1) calls with sleep(1) callsDavid Kaspar [Dee'Kej]2017-10-311-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-301-5/+30
| | | | | | Taken from RHEL-6.9, for forward compatibility. Resolves: RHBZ#1428935
* 9.70-sync: rc.d/init.d/network updatedDavid Kaspar [Dee'Kej]2017-03-221-203/+199
| | | | | This commit contains a lot of whitespace changes. Use 'git diff --ignore-all-space' to display the relevant changes.
* 9.70-sync: rc.d/init.d/netconsole updatedDavid Kaspar [Dee'Kej]2017-03-221-3/+20
|
* 9.70-sync: rc.d/init.d/functions updatedDavid Kaspar [Dee'Kej]2017-03-221-427/+439
| | | | | This commit contains a lot of whitespace changes. Use 'git diff --ignore-all-space' to display the relevant changes.
* functions: systemctl show now returns an error when unit does not existLukas Nykryn2016-08-021-1/+2
| | | | | Cherry-picked from: d39b9feebd08ce67db69b2aab34ea6d0e3c3ec12 Resolves: #1362225
* network: run after network-pre.targetLukas Nykryn2016-07-141-1/+1
| | | | | | | see man systemd.special Cherry-picked from: 88d1927 Resolves: #1354382
* functions: improve killing loopsLukas Nykryn2016-06-021-25/+73
| | | | | Cherry-picked from: 5ae3224 Resolves: #1328752
* service: improve status and stop function for daemon with intscriptsLukas Nykryn2015-09-151-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: tell NM to reload its configuration during startLukas Nykryn2015-06-171-0/+5
|
* clarify daemon() usage messageFilip Krska2015-05-061-2/+2
|
* network: tell nm to wake the slavesLukas Nykryn2014-07-241-1/+2
|
* 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
* Revert "Disable by default in favor of NetworkManager."Lukas Nykryn2013-09-021-1/+1
| | | | This reverts commit 4ee4655195b9935761adb83c963f480b98e30ed0.
* don't care about network filesystemsLukas Nykryn2013-08-191-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-064-459/+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
|
* Turn off UPS in powerfail situation (#754984, <robert@fedoraproject.org>)Lukas Nykryn2012-02-131-0/+5
| | | | | | Patch by Robert Scheck <robert@fedoraproject.org> for initscripts >= 9.03.23, which adds the required support for apcupsd to the halt initscript to turn off the UPS in case of a powerfail situation.
* Do not check mounted filesystems (#745224)Lukas Nykryn2012-02-131-1/+1
|
* Add LSB dep on the network script. (#767818)Bill Nottingham2011-12-141-0/+1
|
* Add cifs to check for network filesystem (#760018).Bill Nottingham2011-12-141-4/+2
| | | | Use findmnt to simplify the code.
* Just exit on first response (#744734)Bill Nottingham2011-11-151-1/+1
|
* If locale.conf exists, use it. (#706756, in part)Bill Nottingham2011-10-251-1/+1
| | | | | | | | | | | | | systemd's algorithm on startup is: - if /etc/locale.conf is parseable, use that - otherwise, use /etc/sysconfig/i18n Given that we have a heirarchy of system -> user settings here, simply go: ~/.i18n > /etc/locale.conf > /etc/sysconfig/i18n Add some documentation as well.
* Only use the first ARP response in netconsole (#744309)Doug Knight2011-10-071-1/+1
|
* Be less picky about ifcfg file names. (#742276)Bill Nottingham2011-09-301-2/+2
|
* Only bother with consoletype if we're actually connected to something that's ↵Bill Nottingham2011-09-191-2/+2
| | | | | | console-ish. (#657869) If we're connected to a socket, or a pipe, or a file, or anything else - assume dumb mode.
* Call multipath and kpartx with -u. (#733437)Bill Nottingham2011-08-251-2/+2
|
* plymouth lives in /bin. (#702814)Bill Nottingham2011-08-152-7/+7
|