about summary refs log tree commit diff
path: root/functions
Commit message (Collapse)AuthorAgeFilesLines
* functions: inform user that encrypted volume was successfully closed 20230413wolfboxpen2023-04-131-1/+1
| | | | | effectively informs user that encryption key(s) have been securely erased prior to potentially rebooting which would leave memory energized
* functions: fix indentationCameron Nemo2022-12-291-17/+17
|
* functions/detect_virt: use container env variable 20220329Cameron Nemo2022-03-291-5/+2
| | | | Fixes #6
* 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.