* Disable deleting /tmp at boot time. This should be controlled

by an option (which should default to off, IMHO).  I was rather
  surprised when I rebooted my system and it started deleting all
  of /tmp (which, for instance, contained some test DB/repos for 
  the Subversion server)...

svn path=/nixos/trunk/; revision=13145
This commit is contained in:
Eelco Dolstra 2008-10-29 13:10:49 +00:00
parent 32b263e429
commit d146d9945b

View file

@ -82,9 +82,10 @@ mkdir -m 0755 -p /home
# Miscellaneous boot time cleanup.
rm -rf /var/run
echo -n "cleaning \`/tmp'..."
rm -rf --one-file-system /tmp/*
echo " done"
#echo -n "cleaning \`/tmp'..."
#rm -rf --one-file-system /tmp/*
#echo " done"
if test -n "$safeMode"; then
mkdir -m 0755 -p /var/run