about summary refs log tree commit diff
path: root/functions
Commit message (Collapse)AuthorAgeFilesLines
* functions: add missing new line in msg_warnYpnose2019-01-151-1/+1
|
* Fix "No devices found" error during shutdownAloz12017-10-151-1/+1
| | | | | | | This fixes an issue introduced by voidlinux/void-runit#75 whereby dmsetup returns "No devices found" on shutdown on systems with no encrypted volumes, which is then interpreted as integral vaules "No", "devices" and "found", resulting in Illegal number errors.
* deactivate_crypt should not try to close encrypted volumes that are still ↵ 20170907Aloz12017-09-071-1/+3
| | | | | | | | | | | | mounted during shutdown (#75) * deactivate_crypt should not try to close encrypted volumes that are still mounted during shutdown. When shutting down or rebooting a system with full disk encryption (as per https://wiki.voidlinux.eu/install_LVM_LUKS and https://wiki.voidlinux.eu/install_LVM_LUKS_on_UEFI_GPT), deactivate_crypt will irrespectively try and close all encrypted partitions, including '/'. On some systems, (including my own) this causes lockups on shutdown or reboot. This commit ensures that only encrypted volumes with nothing mounted are closed (which should only be '/' at that point in shutdown). * Reduced if statement to a one liner
* Update paths for the usr/sbin -> usr/bin move.Juan RP2015-06-021-2/+2
|
* 3: Detect and deactivate LVM Volume Groups on shutdownbougyman2015-04-071-0/+19
|
* functions: msg: add missing newline.Juan RP2015-03-221-1/+1
|
* functions: detect_virt: do nothing if /proc/self/environ does not exist.Juan RP2014-08-071-1/+2
|
* Added "core" services that are run from scripts on stage 1.Juan RP2014-08-071-0/+35
- /etc/runit/functions: contains common functions to be used in core-services. - /etc/runit/core-services: directory containing one-time tasks run in stage 1. - Added LXC container detection to disable some core services. This accidentally also fixes the issue of unicode not working in the active TTY from stage 1.