mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
don't create /tmp/tmp symlink if it already exists (silences error at boot time when it does exist)
This commit is contained in:
parent
2980b38748
commit
eb03f14eb4
5
etc/rc
5
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user