Empty /tmp when shutting down

Coume - Lubox.com coume.mailinglists at lubox.com
Wed Feb 25 11:13:48 UTC 2004


Hello,

Could you explain me how to create an init script?
Do I just have to copy this line in a tmp.sh file?
rm -rf /tmp/* /tmp/.*

Thxs in advance
Ludo

On Wed, 2004-02-25 at 11:41, Robert Vangel wrote:
> You could create a init script in rc6.d and rc0.d which does an
> 
> rm -rf /tmp/* /tmp/.*
> 
> I don't think it has one built in though
> 
> Coume - Lubox.com wrote:
> > Hello,
> > Is it possible to empty the /tmp directory when I shutdown my laptop?
> > If I remember well, I was doing that under MDK but I cannot remember how
> > :/
> > 
> > Thxs in advance
> > Ludo
> > ________________________________________________________________
> > http://www.lubox.com - http://forum.lubox.com
> > Email Services, How-To (Linux,PHP,...), Freeware...
> > Come have a look, and you can even drop a msg on the forum!
> > 
> > 
-- 
________________________________________________________________
http://www.lubox.com - http://forum.lubox.com
Email Services, How-To (Linux,PHP,...), Freeware...
Come have a look, and you can even drop a msg on the forum!





More information about the fedora-list mailing list