* 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.
|
# Miscellaneous boot time cleanup.
|
||||||
rm -rf /var/run
|
rm -rf /var/run
|
||||||
echo -n "cleaning \`/tmp'..."
|
|
||||||
rm -rf --one-file-system /tmp/*
|
#echo -n "cleaning \`/tmp'..."
|
||||||
echo " done"
|
#rm -rf --one-file-system /tmp/*
|
||||||
|
#echo " done"
|
||||||
|
|
||||||
if test -n "$safeMode"; then
|
if test -n "$safeMode"; then
|
||||||
mkdir -m 0755 -p /var/run
|
mkdir -m 0755 -p /var/run
|
||||||
|
Loading…
Reference in New Issue
Block a user