From eb03f14eb43fc3a67ba60be4f1f4f695995928b7 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sat, 15 Dec 2007 07:50:52 +0000 Subject: [PATCH] don't create /tmp/tmp symlink if it already exists (silences error at boot time when it does exist) --- etc/rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index 7318f751a9..77283d420d 100755 --- a/etc/rc +++ b/etc/rc @@ -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