summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-06-01 10:47:53 +0000
committerbrian <brian@FreeBSD.org>1999-06-01 10:47:53 +0000
commit2e64be7a5a7eab7d3eb3aa968c45db8ebafe6949 (patch)
treee608ebe3aef670208d5d83d07b19247d6af97a3d /etc/rc
parent7be18a961518a485e891f6dbd1e324a6bdc8f610 (diff)
downloadFreeBSD-src-2e64be7a5a7eab7d3eb3aa968c45db8ebafe6949.zip
FreeBSD-src-2e64be7a5a7eab7d3eb3aa968c45db8ebafe6949.tar.gz
Ignore the quota.user and quota.group files rather than the
``quotas'' file when cleaning /tmp.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 2de1cee..9ec7f42 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud