--- src/etc/rc.d/cleartmp 2005/11/19 21:47:32 1.5 +++ src/etc/rc.d/cleartmp 2008/11/18 12:56:50 1.6 @@ -24,9 +24,10 @@ cleartmp_start() # /tmp/[lq]* (this is not needed with mfs /tmp, but # doesn't hurt anything). # - (cd /tmp && rm -rf [a-km-pr-zA-Z]* && - find -x . ! -name . ! -name lost+found ! -name quota.user \ - ! -name quota.group -exec rm -rf -- {} \; -type d -prune) + (cd /tmp && rm -rf [a-km-prt-zA-Z]* && + find -x . ! -name . ! -name lost+found ! -name snapshots \ + ! -name quota.user ! -name quota.group \ + -exec rm -rf -- {} \; -type d -prune) # Remove X lock files, since they will prevent you from # restarting X