From f7116f47b499f4b1b443c60f726e5ab06f86b651 Mon Sep 17 00:00:00 2001 From: rpe <> Date: Wed, 30 Dec 2015 22:59:53 +0000 Subject: [PATCH] Remove portslocks from /etc/daily. The ports LOCKDIR was moved from /tmp to /usr/ports/pobj years ago. OK millert@, ajacoutot@ --- src/etc/daily | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/daily b/src/etc/daily index 11587243..8ea860df 100644 --- a/src/etc/daily +++ b/src/etc/daily @@ -1,5 +1,5 @@ # -# $OpenBSD: daily,v 1.83 2015/04/29 00:10:44 halex Exp $ +# $OpenBSD: daily,v 1.84 2015/12/30 22:59:53 rpe Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # # For local additions, create the file /etc/daily.local. @@ -49,10 +49,10 @@ if [ -d /tmp -a ! -L /tmp ]; then cd /tmp && { find -x . \ \( -path './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \ - -o -path ./portslocks -o -path './tmux-*' \) \ + -o -path './tmux-*' \) \ -prune -o -type f -atime +7 -execdir rm -f -- {} \; 2>/dev/null find -x . -type d -mtime +1 ! -path ./vi.recover ! -path ./.X11-unix \ - ! -path ./.ICE-unix ! -path ./portslocks ! -name . \ + ! -path ./.ICE-unix ! -name . \ -execdir rmdir -- {} \; >/dev/null 2>&1; } fi