don't create /tmp/tmp symlink if it already exists (silences error at boot time when it does exist)

This commit is contained in:
Chris Buechler 2007-12-15 07:50:52 +00:00
parent 2980b38748
commit eb03f14eb4

5
etc/rc
View File

@ -110,7 +110,10 @@ fi
# have trouble overriding the PREFIX configure
# argument since we build our packages in a
# seperated PREFIX area
ln -s / /tmp/tmp
# Only create if symlink does not exist.
if [ ! -h /tmp/tmp ]; then
ln -hfs / /tmp/tmp
fi
# Malloc debugging check
if [ ! -L /etc/malloc.conf ]; then