stopping /tmp cleanup on reboot
Clay Weber
claydoh at midmaine.com
Mon Jun 14 22:25:38 UTC 2010
On Monday, June 14, 2010 06:09:37 pm D. R. Evans wrote:
> D. R. Evans said the following at 06/14/2010 03:44 PM :
> > I just updated a system to lucid and discovered that /tmp is being
> > emptied on reboot. I recall this happening when I upgraded to
karmic,
> > but it was easy to find where this was happening and comment it
out ins
> > some startup script or other. But I haven't been able to find the
right
> > script in lucid. Does anyone happen to know where the command
is located
> > so I can comment it out?
>
> FWIW, I found my notes... in the past, /tmp was emptied during
execution of
> a script called bootclean.sh. It was a simple matter to comment out
a line
> in that script.
>
> But it seems that in lucid bootclean.sh no longer exists, so I need to
know
> which file now does the job of emptying /tmp, so I can stop it doing
so.
>
> Doc
Google seems to show that you need to edit the file /etc/default/rcS
and change
TMPTIME=0
to
TMPTIME=-1
0=always empty, A positive number specifies the number of days
between emptying, and a -1 disables it altogether
Clay
More information about the kubuntu-users
mailing list