Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.bin/skey Pull up rev 1.4, approved by thorpej:
details: https://anonhg.NetBSD.org/src/rev/62523e6f26b2
branches: netbsd-1-5
changeset: 488790:62523e6f26b2
user: mjl <mjl%NetBSD.org@localhost>
date: Fri Jul 28 12:42:59 2000 +0000
description:
Pull up rev 1.4, approved by thorpej:
If /etc/skeykeys is missing, exit silently.
diffstat:
usr.bin/skey/skeyaudit.sh | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 73c23394e54f -r 62523e6f26b2 usr.bin/skey/skeyaudit.sh
--- a/usr.bin/skey/skeyaudit.sh Fri Jul 28 10:10:30 2000 +0000
+++ b/usr.bin/skey/skeyaudit.sh Fri Jul 28 12:42:59 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: skeyaudit.sh,v 1.2.12.1 2000/07/17 19:55:54 mjl Exp $
+# $NetBSD: skeyaudit.sh,v 1.2.12.2 2000/07/28 12:42:59 mjl Exp $
#
# This script will look thru the skeykeys file for
# people with sequence numbers less than LOWLIMIT=12
@@ -22,6 +22,9 @@
LOWLIMIT=$1
fi
+if [ ! -s "${KEYDB}" ]; then
+ exit 0
+fi
# an skeykeys entry looks like
# jsw 0076 la13079 ba20a75528de9d3a
@@ -39,7 +42,7 @@
SEQ=$2
KEY=$3
shift 3
-echo "$USER -- $SEQ -- $KEY"
+ # echo "$USER -- $SEQ -- $KEY"
if [ $SEQ -lt $LOWLIMIT ]; then
if [ $SEQ -lt 3 ]; then
SUBJECT="IMPORTANT action required"
Home |
Main Index |
Thread Index |
Old Index