about summary refs log tree commit diff
path: root/3
Commit message (Collapse)AuthorAgeFilesLines
* Split run-level 3 script into separate files.Bas Ploeger2023-01-091-48/+3
|
* Print message when seeding RNGJason A. Donenfeld2022-03-261-0/+1
|
* Use seedrng for seeding the random number generatorJason A. Donenfeld2022-03-251-2/+1
| | | | | | | | | | | | The RNG can't actually be seeded from a shell script, due to the reliance on ioctls. For this reason, the seedrng project provides a basic script meant to be copy and pasted into projects like void-runit and tweaked as needed: <https://git.zx2c4.com/seedrng/about/>. This commit imports it into void-runit and wires up the init scripts to call it. This also is a significant improvement over the current init script, which fails to remove seed files that have already been used, or to ratchet them forward.
* 3: remove /run/runit/reboot handling.Érico Rolim2020-07-201-4/+0
| | | | | | | | runit uses the permissions in the /etc/runit/reboot file to determine whether it's going to perform a halt or reboot action. This conditional in 3 meant that touching the reboot file, even with 000 perms, would lead to a reboot, which goes agains what is expected according to the runit documentation.
* core-services/05-misc.sh: log boot in wtmpLeah Neukirchen2019-09-061-1/+1
|
* urandom: don't seed/store in containersCameron Nemo2019-03-161-2/+4
|
* Find out size of the saved random-seed via /proc/sys/kernel/random/poolsize. 20150511.1Juan RP2015-05-111-1/+1
| | | | | This is what the random(4) manual page recommends, and hopefully should improve entropy reading from /dev/{u,}random.
* Merge pull request #33 from nmeum/styleJuan RP2015-04-091-1/+1
|\ | | | | Style fixes
| * 3: Fix indentionSören Tempel2015-04-081-1/+1
| |
* | 3: Detect and deactivate LVM Volume Groups on shutdownbougyman2015-04-071-0/+2
|/
* 1, 3: remove some more trailing extra newlines.Juan RP2015-03-221-9/+9
|
* 3: spawn a subshell to create random-seedSören Tempel2015-03-171-1/+1
|
* 3: kexec supportChristian Neukirchen2015-02-261-0/+8
|
* Added /etc/rc.shutdown, called in runlevel 3Stefan Mühlinghaus2015-01-151-0/+2
|
* 3: reduce time to wait while stopping services and killing processes.Juan RP2014-10-241-3/+2
| | | | Previous values were too high.
* Fix shutdown regression introduced in 9022506f.Juan RP2014-08-161-2/+1
|
* 3: remove unnecessary stty onlcr.Juan RP2014-08-081-2/+0
|
* 3: conditionalize unmounting for virtualization; fixes multiple lxc ↵Juan RP2014-08-071-5/+3
| | | | create/destroy.
* Added "core" services that are run from scripts on stage 1.Juan RP2014-08-071-11/+19
| | | | | | | | | - /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.
* Initial import of runit init scripts based on ignite.Juan RP2014-04-251-0/+45
I did not use ignite because it needs bash, and I don't really want it.