sync with OpenBSD -current

This commit is contained in:
purplerain 2024-05-31 15:25:42 +00:00
parent 2d58860211
commit e0194c3e7d
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
15 changed files with 121 additions and 147 deletions

View file

@ -1,5 +1,5 @@
#
# $OpenBSD: daily,v 1.98 2024/05/16 11:33:59 solene Exp $
# $OpenBSD: daily,v 1.99 2024/05/30 14:29:05 sthen Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
# For local additions, create the file /etc/daily.local.
@ -50,7 +50,7 @@ if [ -d /tmp -a ! -L /tmp ]; then
find -x . \
\( -path './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \
-o -path './tmux-*' \) -prune -o \
-type f -and ! -path './*.shm' -atime +7 -delete 2>/dev/null
-type f -and ! -path './*.s[eh]m' -atime +7 -delete 2>/dev/null
find -x . -type d -mtime +1 ! -path ./vi.recover ! -path ./.X11-unix \
! -path ./.ICE-unix ! -name . \
-delete >/dev/null 2>&1; }