summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 7318f75..77283d4 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
OpenPOWER on IntegriCloud