diff options
author | Renato Botelho <renato@netgate.com> | 2016-04-27 19:41:30 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-04-27 19:41:30 -0300 |
commit | a32867f51d926a0d9fd4f9fc59714d2784f68b11 (patch) | |
tree | 65fccda3a47c77af15c9f84c7a01add665c32607 /src/usr/local | |
parent | 66f469dfe295f60b244a74097691f4c5ada01690 (diff) | |
download | pfsense-a32867f51d926a0d9fd4f9fc59714d2784f68b11.zip pfsense-a32867f51d926a0d9fd4f9fc59714d2784f68b11.tar.gz |
Reduce values of FETCH_TIMEOUT and FETCH_RETRY to help ticket #6177
Diffstat (limited to 'src/usr/local')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index b5b7e5a..bc36d32 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -744,6 +744,8 @@ fi # pkg should not ask for confirmations export ASSUME_ALWAYS_YES=true +export FETCH_TIMEOUT=5 +export FETCH_RETRY=2 export product=$(/usr/local/bin/php -n /usr/local/sbin/read_global_var product_name pfSense) export pkg_prefix=$(/usr/local/bin/php -n /usr/local/sbin/read_global_var pkg_prefix pfSense-pkg-) |