diff options
author | Chris Buechler <cmb@pfsense.org> | 2007-12-15 07:50:52 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2007-12-15 07:50:52 +0000 |
commit | eb03f14eb43fc3a67ba60be4f1f4f695995928b7 (patch) | |
tree | 41ff112aa1748d65487228ba8a63f2d6fdcffbd8 /etc | |
parent | 2980b387489c5a1b13d04d1158fc0b498490a334 (diff) | |
download | pfsense-eb03f14eb43fc3a67ba60be4f1f4f695995928b7.zip pfsense-eb03f14eb43fc3a67ba60be4f1f4f695995928b7.tar.gz |
don't create /tmp/tmp symlink if it already exists (silences error at boot time when it does exist)
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |