aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use /run/initramfs instead of /dev/.initramfsWill Woods2012-03-081-2/+2
| | | | | | | | | | | Current dracut saves state to /run/initramfs, since /run is standard now. This patch makes rc.sysinit and fedora-readonly check for files in /run/initramfs/rwtab and /run/initramfs/state (which is where dracut writes them). It also makes ifup-eth look for lease files in /run/initramfs.
* 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-252-2/+2
| | | | | | | | | | | | | 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.
* selinuxfs moved, adjust code. (#733759)Bill Nottingham2011-08-301-7/+7
|
* Call multipath and kpartx with -u. (#733437)Bill Nottingham2011-08-251-2/+2
|