aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/halt
Commit message (Collapse)AuthorAgeFilesLines
* init.d/halt: give init some time to reexecuteLukas Nykryn2015-10-271-0/+2
| | | | Resolves: #1259873
* halt: add delay after upsdrvctl shutdownMichal Hlavinka2015-02-041-0/+2
|
* sync disks before halt (#1006294)Lukas Nykryn2013-10-101-0/+2
|
* Pass useful arguments to halt.local (#554392)Václav Pavlín2012-08-071-3/+4
|
* 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.
* don't match filesystem types in hostnames (#703203, <jmueller@data-tronics.com>)Bill Nottingham2011-08-151-1/+2
|
* test if there is /dev/rtc before syncing hardware clock (#598850)Petr Lautrbach2011-01-141-1/+1
|
* Explicitly pass both device and dir when remounting read-only (#620461, ↵Bill Nottingham2010-12-061-2/+2
| | | | <phr@doc.ic.ac.uk>)
* Simplify various string match constructs. (#558575)Ville Skyttä2010-12-061-1/+1
|
* Fix mdmom pid handling for newer mdadm (#549726, <dledford@redhat.com>)Bill Nottingham2010-04-061-2/+2
|
* Explicitly tell init to re-exec itself on halt, to avoid a busy filesystem.Bill Nottingham2009-12-031-0/+3
|
* halt: put a wrapper around killall5 to account for retval 2 not being an errorHans de Goede2009-10-211-4/+13
| | | | This stops us from showing [ FAILED ] when there were no processes to kill.
* Wrap /sbin/killall5 to catch some return codes. (#526539)Bill Nottingham2009-10-021-2/+11
| | | | | | | killall5 now returns '2' if there are no processes to kill; we don't want to treat that as 'failure'. Patch adapted from (<hdegoede@redhat.com>).
* Use halt's return code to avoid unnecessary sleeping. (#524359, ↵Bill Nottingham2009-09-211-2/+5
| | | | <hdegoede@redhat.com>)
* Don't kill mdmon on shutdown. (#524357, <hdegoede@redhat.com>)Bill Nottingham2009-09-211-2/+16
| | | | Horray for bad kernel <-> userspace interactions.
* Don't try and save mixer settings if it's not writable. (#515771)Bill Nottingham2009-08-241-1/+1
|
* Nuke redundant declaration of actionVictor Lowther2009-07-301-11/+0
|
* Use $() instead of `` for process expansion.Bill Nottingham2009-07-301-1/+1
| | | | Adapted from <victor.lowther@gmail.com>.
* Fix typo. (#480799)Bill Nottingham2009-01-201-1/+1
|
* Determine reboot/halt via existing INIT_HALT environment variable. (#475227)Bill Nottingham2008-12-091-1/+1
| | | | No more magic files needed. In fact, I'm not sure they ever were. Whoops.
* Don't mkswap on halt (#469823)Bill Nottingham2008-11-041-2/+0
| | | | | Doing so blows away any label or UUID on the partition, which makes specifying encrypted swap by label or UUID fail miserably.
* Fix code that causes a syntax error on multiple cards. (#469156)Bill Nottingham2008-10-301-2/+0
| | | | | Just remove the compatibility case, and conflict with older alsa-utils that would require it.
* Use alsactl to save sound settings. (#462677, <jkysela@redhat.com>)Bill Nottingham2008-09-231-3/+4
|
* https://bugzilla.redhat.com/show_bug.cgi?id=433702Harald Hoyer2008-09-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to init scripts to better support stateless: --rc.sysinit-- - don't update mtab in a r/o root - mount on sys and /dev/pts returns EBUSY on a readonly root - [ -n $CLIENTSTATE ] is always returning true, causing an unnecessary timeout --network-- - /etc/mtab may not have any mount information in the readonly-root cause, but the root mount is likely to be a network mount. Without this, nfs hangs the reboot process. --halt-- - don't try and update a read-only mtab --rwtab-- - /var/empty/sshd/etc/localtime needs to be overwritten by sshd at startup - /var/lib/random-seed is written to at shutdown; this fixes the error but doesn't return the functionality lost in a r/o /var/lib.
* Don't say that we're shutting off crypto if we aren't actually doing it.Bill Nottingham2008-08-291-3/+2
|
* Remove dead codeBill Nottingham2008-05-231-16/+0
|
* Don't unmount sysfs in halt. (#446292)Bill Nottingham2008-05-151-1/+1
|
* don't use /etc/sysconfig/clock (#438337)Bill Nottingham2008-03-201-28/+1
|
* clean up some extraneous delays (#219816)Bill Nottingham2007-10-081-1/+1
|
* more fixes (#220087)Bill Nottingham2007-09-251-1/+1
|
* adapt to new nut usage, conflict with older packages (#252973)Bill Nottingham2007-08-291-4/+6
|
* use sound saving wrapper from alsa-utils; conflict with older versions (#236916)Bill Nottingham2007-04-191-2/+2
|
* use kexec -x to not shut down network (#223932, <mchristi@redhat.com>)Bill Nottingham2007-02-231-1/+1
|
* don't unmount network filesystemsBill Nottingham2006-11-201-1/+1
|
* don't umount /dev/root<foo> (<oblin@mandriva.com>)Bill Nottingham2006-08-171-1/+1
|
* Use /proc/mounts instead of /etc/mtab (via mount), to handle mount --rbindMiloslav Trmac2006-07-301-2/+4
| | | | (#198426)
* don't shut down network interfaces (for iscsi)Bill Nottingham2006-07-111-1/+1
|
* Add encrypted swap and non-root filesystem support (#127378, based onMiloslav Trmac2006-06-011-1/+31
| | | | | a patch by W. Michael Petullo <redhat@flyn.org> and Debian's cryptsetup package)
* integrate s390 patch - just check for hwclock before running itBill Nottingham2006-05-231-1/+1
|
* Fix handling of mount points with white space (#186713):Miloslav Trmac2006-05-081-83/+27
| | | | | | | | | | | | | - src/fstab-decode.c, src/fstab-decode.8: New files. - src/Makefile: Build and install fstab-decode. - initscripts.spec: Add fstab-decode to %files - rc.d/init.d/functions (fstab_decode_str): New function. (__umount_loop, __umount_loopback_loop): Factor out from copy&pasted copies. (action): Fix command quoting. - rc.d/rc.sysinit: Correctly quote and decode mount points. - rc.d/init.d/halt: Use __umount_* and fstab-decode. (action): Rename from runcmd. Fix command quoting. - rc.d/init.d/netfs: Use __umount_*.
* kexec support (<jmoyer@redhat.com>)Bill Nottingham2006-03-031-0/+4
|
* Try to unmount tmpfs filesystems before swapoff (#174000)Miloslav Trmac2006-02-031-0/+5
|
* move halt.local so that it runs before / is remounted r/o (#179314)Bill Nottingham2006-01-311-4/+4
|
* ignore sysfs but not /sys<otherstuff> (#177612, <bnocera@redhat.com>)Bill Nottingham2006-01-121-2/+2
|
* I'm going to go out on a limb and say that /proc/mounts *doesn't* haveBill Nottingham2005-04-271-6/+6
| | | | comments.
* syntaxBill Nottingham2005-04-151-1/+1
|
* reverse sort the mount list, avoiding errors (#147254, ↵Bill Nottingham2005-04-151-1/+1
| | | | <jamesodhunt@hotmail.com>)
* remove more devfs compatBill Nottingham2004-11-241-1/+1
|
* whoops, wrong file (#134432)Bill Nottingham2004-10-041-3/+3
|
* move random stuff to rc.sysinit/halt; move all swap to after this.Bill Nottingham2004-07-071-0/+5
| | | | prereq of bug #123278