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

``quotas'' file when cleaning /tmp.
This commit is contained in:
brian 1999-06-01 10:47:53 +00:00
parent 7be18a9615
commit 2e64be7a5a

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