Browse Source

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@
OPENBSD_3_9
jmc 19 years ago
parent
commit
729ad7eff7
2 changed files with 8 additions and 8 deletions
  1. +1
    -7
      src/etc/monthly
  2. +7
    -1
      src/etc/weekly

+ 1
- 7
src/etc/monthly View File

@ -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 "."

+ 7
- 1
src/etc/weekly View File

@ -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 "."

Loading…
Cancel
Save