Ignore the quota.user and quota.group files rather than the

``quotas'' file when cleaning /tmp.
This commit is contained in:
Brian Somers 1999-06-01 10:47:53 +00:00
parent a92ac6bc75
commit 78adc7a560
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47661

5
etc/rc
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.186 1999/04/02 07:15:43 grog Exp $
# $Id: rc,v 1.187 1999/04/02 09:35:34 cracauer Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -200,7 +200,8 @@ if [ "X${clear_tmp_enable}" = X"YES" ]; then
# prune quickly with one rm, then use find to clean up /tmp/[lq]*
# (not needed with mfs /tmp, but doesn't hurt there...)
(cd /tmp && rm -rf [a-km-pr-zA-Z]* &&
find -d . ! -name . ! -name lost+found ! -name quotas -exec rm -rf -- {} \;)
find -d . ! -name . ! -name lost+found ! -name quota.user \
! -name quota.group -exec rm -rf -- {} \;)
fi