« Return to Thread: [Cooker] cleaning /tmp on boot

Re: [Cooker] cleaning /tmp on boot

by Götz Waschk :: Rate this Message:

Reply to Author | View in Thread

On Thu, Jul 2, 2009 at 4:17 PM, Tim Edwards<tkedwards@...> wrote:
> I've noticed the option to "Clean /tmp at each boot" in Mandriva Control
> Centre->Set up boot system->Advanced. What exactly does this do? Is it
> setting a grub option and if so which one (I can't seem to see anything
> obvious in the menu.lst?

Hi Tim,

check /etc/init.d/mandrake_everytime. If CLEAN_TMP is set in
/etc/sysconfig/system, this init script cleans /tmp, except for the
files that must stay there.


> I ask because I want to enable this on a RHEL machine.
Then you'll have to port this, shouldn't be too hard.

Regards, Götz



--
AL I:40: Do what thou wilt shall be the whole of the Law.

 « Return to Thread: [Cooker] cleaning /tmp on boot