aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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-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
|
* plymouth lives in /bin. (#702814)Bill Nottingham2011-08-153-12/+12
|
* Don't mount gfs2 in netfs (#689593)Bill Nottingham2011-08-011-1/+1
|
* Add back a message for udev start. (#714531, continued)Bill Nottingham2011-06-211-1/+1
|
* Start udev by hand. (#714531)Bill Nottingham2011-06-201-1/+4
|
* Clean up some noise if stderr isn't available.Bill Nottingham2011-06-021-2/+2
|
* VLAN, etc. interfaces can be slaves; check for being a slave first. (#703475)Bill Nottingham2011-05-121-4/+4
|
* Tweak wording, as other scripts with S99 priority may actually run later. ↵Bill Nottingham2011-05-101-1/+1
| | | | (#703148)
* Use LC_ALL=C when calling sed. ↵Bill Nottingham2011-05-101-3/+3
| | | | (https://bugs.mageia.org/show_bug.cgi?id=1216, via <sander.lepik@eesti.ee>)
* fuser -k defaults to -9; set the initial pass to kill -15. (#703457)Bill Nottingham2011-05-101-2/+2
|