-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Sunday 2007-04-08 at 23:15 -0400, Bob S wrote:
> Back when I was running 10.0 I configured something someplace to clean out
> my /tmp file when I rebooted. (I shut down every night)
>
> Now in 10.2 I cannot remember how I did that. Can someone please refresh the
> senile old guy?
Do a grep on "/etc/sysconfig" when you don't remember things like that and
you will find them. The trick is trying to remember which string to search
for. Let's see:
[EMAIL PROTECTED]:~> grep -i delete /etc/sysconfig/*
/etc/sysconfig/auditd:# This option is used to determine if rules & watches
should be deleted on
/etc/sysconfig/cron:# Should old preformatted man pages (in /var/catman) be
deleted? (yes/no)
/etc/sysconfig/cron:DELETE_OLD_CATMAN=yes
/etc/sysconfig/cron:# cron.daily can check for old files in tmp-dirs. It will
delete all files
/etc/sysconfig/cron:# be searched and deleted.
/etc/sysconfig/cron:# In OWNER_TO_KEEP_IN_TMP, you can specify, whose files
shall not be deleted.
/etc/sysconfig/cron:# Should old corefiles they be deleted? ("yes" or "no")
/etc/sysconfig/cron:DELETE_OLD_CORE=no
/etc/sysconfig/cron:# be searched and deleted. The frequency is determined by
MAX_DAYS_IN_LONG_TMP
grep: /etc/sysconfig/dhcpd: Permission denied
/etc/sysconfig/onlineupdate:# If set to "yes" YOU will delete the downloaded
RPM archives after installing
So, "cron" has some entries that might be what you are looking for. So,
let's have a look at "/etc/sysconfig/cron"; for instance:
MAX_DAYS_IN_TMP=30
TMP_DIRS_TO_CLEAR="/tmp /var/tmp"
etc, etc. There you have the variables Patrick mentioned. :-)
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFGGgiytTMYHG2NR9URAmi6AJkB4vrsyYXGHVnziG6OvEyEECyoaACfQf4D
6qb4IvkSojbWu+lYadfnWmY=
=oZpF
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]