Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Fix sysctl invocation testing for missing entropy.
details: https://anonhg.NetBSD.org/src/rev/302912a0c799
branches: trunk
changeset: 377284:302912a0c799
user: martin <martin%NetBSD.org@localhost>
date: Wed Jul 05 12:07:21 2023 +0000
description:
Fix sysctl invocation testing for missing entropy.
diffstat:
etc/security | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 82978182c7ee -r 302912a0c799 etc/security
--- a/etc/security Wed Jul 05 11:43:05 2023 +0000
+++ b/etc/security Wed Jul 05 12:07:21 2023 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: security,v 1.130 2023/06/30 21:42:29 riastradh Exp $
+# $NetBSD: security,v 1.131 2023/07/05 12:07:21 martin Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -195,7 +195,7 @@ done | mtree -CM -k all > $SPECIALSPEC |
# Check for enough entropy.
#
if checkyesno check_entropy; then
- if [ "$(sysctl -nq kern.entropy.needed)" != 0 ]; then
+ if [ "$(sysctl -n kern.entropy.needed)" != 0 ]; then
printf '\n'
printf 'Entropy:\n'
printf 'System may need more entropy for cryptography.\n'
Home |
Main Index |
Thread Index |
Old Index