Re: Empty /tmp on boot
Adrián Ribao wrote:
Hi, how can I empty the /tmp directory every time I boot the computer?
Thank you.
Hi,
Input some commands into /etc/init.d/halt.local
for cleaning on shutdown
or
Input some commands into /etc/init.d/boot.local
for cleaning on startup
for example
rm -rf /tmp/*
.
Relevant Pages
- Bush Fits Profile of Serial Killer
... visionaries, who hear voices, receive godly commands... ... missionaries, who are evangelical about cleaning up society and ... (alt.politics.bush) - Re: Run mystery
... Everything is green in stealth mode. ... Sometines, in the past, I found strange commands which I never ... stopping intrusions in this way that access the Firewall without my knowing. ... Since cleaning registry items does not noticeably improve a PC's ... (microsoft.public.windowsxp.general) - RE: how to start a delayed shutdown over ssh and disconnect immediately?
... Your console is used by shutdown and upon killing ssh connection, ... The AT command schedules commands and programs to run on a computer at ... (Debian-User) - Re: [opensuse] 10.2 still crashing; KDE freezes; command-line shutdown fails
... DMI, PCI, APIC and HPET. ... Note that commands DO start, ... On those occasions when I've been able to enter a shutdown command, the system hangs AFTER displaying the "shutdown warning message". ... (SuSE) - Re: [opensuse] 10.2 still crashing; KDE freezes; command-line shutdown fails
... DMI, PCI, APIC and HPET. ... Note that commands DO start, ... On those occasions when I've been able to enter a shutdown command, the system hangs AFTER displaying the "shutdown warning message". ... (SuSE) |
|