diff options
author | 2005-11-12 16:14:37 +0000 | |
---|---|---|
committer | 2005-11-12 16:14:37 +0000 | |
commit | ca608fafe85b99f4ef384bcfc178af2e1c08bc13 (patch) | |
tree | 9b26354dd946be40c7cef2a61c2733a0d4945f50 | |
parent | - note that basename() may modify the string (diff) | |
download | wireguard-openbsd-ca608fafe85b99f4ef384bcfc178af2e1c08bc13.tar.xz wireguard-openbsd-ca608fafe85b99f4ef384bcfc178af2e1c08bc13.zip |
move the ac(8) stuff to weekly, rather than monthly, since by default
newsyslog truncates wtmp on a weekly basis; note that the ac stuff
remains commented out as before;
spotted by andreas bihlmaier;
ok deraadt@
-rw-r--r-- | etc/monthly | 8 | ||||
-rw-r--r-- | etc/weekly | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/etc/monthly b/etc/monthly index 793ac416f67..910128c0da9 100644 --- a/etc/monthly +++ b/etc/monthly @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: monthly,v 1.5 1998/02/02 23:08:57 millert Exp $ +# $OpenBSD: monthly,v 1.6 2005/11/12 16:14:37 jmc Exp $ if [ -f /etc/monthly.local ];then echo "" @@ -8,9 +8,3 @@ if [ -f /etc/monthly.local ];then else echo "Nothing to do!" fi - -# echo "" -# echo "Doing login accounting:" -# ac -p | sort -nr +1 - -#echo "." diff --git a/etc/weekly b/etc/weekly index 8a253b7ad62..2ad469d487c 100644 --- a/etc/weekly +++ b/etc/weekly @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: weekly,v 1.14 2003/06/30 22:04:57 avsm Exp $ +# $OpenBSD: weekly,v 1.15 2005/11/12 16:14:37 jmc Exp $ # PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec @@ -38,3 +38,9 @@ fi echo "" echo "Rebuilding whatis databases:" makewhatis + +# echo "" +# echo "Doing login accounting:" +# ac -p | sort -nr +1 + +#echo "." |