diff options
author | Chris Buechler <cmb@pfsense.org> | 2007-12-15 07:51:44 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2007-12-15 07:51:44 +0000 |
commit | 6a19fc38a6f46e2e1e2c95d9f152d1bcee7fa6d1 (patch) | |
tree | 5f6edcf50e364886740e0793631c39a6cff46728 /etc/rc | |
parent | 9fce470bcefb7fe287cfbba44ae221678a2d6db4 (diff) | |
download | pfsense-6a19fc38a6f46e2e1e2c95d9f152d1bcee7fa6d1.zip pfsense-6a19fc38a6f46e2e1e2c95d9f152d1bcee7fa6d1.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/rc')
-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 |