Smagin Vladimir <21h@xxxxxxxxxxxx> writes: > Hi all. I found that my fedora 16 doesnt clean /tmp at shutdown like any other linux distributions. How I can fix this issue? Using tmpfs is a wrong way. Just put this into /sbin/halt.local and make it mode 755. [wolfgang@arbol sbin]$ cat /sbin/halt.local #!/bin/sh ############################################################################### ## ## ## File: halt.local ## ## Author: Wolfgang S. Rupprecht <wolfgang@xxxxxxxxx> ## ## Created: Thu Jun 7 23:47:14 PDT 2007 ## ## Contents: wsrcc site-specific halt stuff ## ## ## ## Copyright (c) 2007 Wolfgang S. Rupprecht. ## ## All rights reserved. ## ## ## ## $Id$ ## ############################################################################### # wsrcc halt script echo "WSRCC: Clearing /tmp and /var/tmp" cd / /bin/rm -rf /tmp/* /tmp/.??* /var/tmp/* /var/tmp/.??* sync; sync; sync; # # end # -- g+: https://plus.google.com/114566345864337108516/about -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org