aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|
* don't match filesystem types in hostnames (#703203, <jmueller@data-tronics.com>)Bill Nottingham2011-05-091-1/+2
|
* Fix logic error (#698520, <jlau@redhat.com>)Bill Nottingham2011-04-251-1/+1
|
* Support overriding hostname via /etc/hostname.Bill Nottingham2011-04-181-0/+3
|
* Don't print errors if mdadm isn't installed. (#692187)Bill Nottingham2011-03-301-2/+2
|