mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Patch from garga@ to resolve NanoBSD upgrade issues
This commit is contained in:
parent
37ca89c5b2
commit
816bfaaafd
8
etc/rc
8
etc/rc
@ -245,6 +245,12 @@ echo "done."
|
||||
# Recreate capabilities DB
|
||||
cap_mkdb /etc/login.conf
|
||||
|
||||
if [ "$PLATFORM" = "nanobsd" -o "$PLATFORM" = "embedded" ]; then
|
||||
upload_tmp_dir="/root"
|
||||
else
|
||||
upload_tmp_dir="/tmp"
|
||||
fi
|
||||
|
||||
if [ "$PLATFORM" != "cdrom" ]; then
|
||||
# Populate a dummy php.ini to avoid
|
||||
# the file being clobbered and the firewall
|
||||
@ -258,7 +264,7 @@ max_execution_time = 99999999
|
||||
max_input_time = 99999999
|
||||
register_argc_argv = Off
|
||||
file_uploads = On
|
||||
upload_tmp_dir = /tmp
|
||||
upload_tmp_dir = ${upload_tmp_dir}
|
||||
upload_max_filesize = 90M
|
||||
post_max_size = 90M
|
||||
html_errors = Off
|
||||
|
||||
Loading…
Reference in New Issue
Block a user