diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-04-20 02:44:21 +0200 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2022-04-20 15:45:20 -0500 |
commit | 9b16bfe0e761067fd076d549e813c8f650c7f889 (patch) | |
tree | 3b433930647e5c3bc59c7164f14fe51451442006 /init.d | |
parent | c3545b54f3330d97e06599f97c91ab73e9892f83 (diff) |
seedrng: incorporate various improvements
There have been a number of subtle improvements and cleanups to seedrng,
including using openat and locking the directory fd instead of a
separate lock file. Also various stylistic cleanups.
This fixes #519.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/seedrng.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/init.d/seedrng.in b/init.d/seedrng.in index 75074d5e..10fb931d 100644 --- a/init.d/seedrng.in +++ b/init.d/seedrng.in @@ -21,8 +21,6 @@ depend() seedrng_options() { - [ -n "${lock_file}" ] && - echo "--lock-file \"${lock_file}\"" [ -n "${seed_dir}" ] && echo "--seed-dir \"${seed_dir}\"" yesno "${skip_credit}" && |