LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   clearing /tmp at reboot (https://www.linuxquestions.org/questions/debian-26/clearing-tmp-at-reboot-474975/)

sylye 08-17-2006 11:04 PM

clearing /tmp at reboot
 
Hi,

Do you guys know that in Debian where is the script that control the behaviour to actually delete all files in /tmp during reboot ? I would like to do some adjustment on it.

I did search through the /etc/rc1.d , /etc/rc2.d,... but have no luck on that. I also have searched through the forum here, and found nobody talking about that in detail.

Thanks for pointing me the light.

Phiebie 08-18-2006 07:30 AM

/etc/init.d/mountall-bootclean.sh as the starting-point.

sylye 08-26-2006 04:42 AM

thanks pal, I think the bootclean script is called in mountall and mountnfs, so there is the place where the /tmp is clean off.

thanks for giving me the clue. :)


All times are GMT -5. The time now is 10:51 PM.