mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
* 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:
parent
32b263e429
commit
d146d9945b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user