Lines 93-99
Link Here
|
93 |
CONFIGOPTIONS="KEYPRINT WORKDIR SERVERNAME MAILTO ALLOWADD ALLOWDELETE |
93 |
CONFIGOPTIONS="KEYPRINT WORKDIR SERVERNAME MAILTO ALLOWADD ALLOWDELETE |
94 |
KEEPMODIFIEDMETADATA COMPONENTS IGNOREPATHS UPDATEIFUNMODIFIED |
94 |
KEEPMODIFIEDMETADATA COMPONENTS IGNOREPATHS UPDATEIFUNMODIFIED |
95 |
BASEDIR VERBOSELEVEL TARGETRELEASE STRICTCOMPONENTS MERGECHANGES |
95 |
BASEDIR VERBOSELEVEL TARGETRELEASE STRICTCOMPONENTS MERGECHANGES |
96 |
IDSIGNOREPATHS BACKUPKERNEL BACKUPKERNELDIR BACKUPKERNELSYMBOLFILES" |
96 |
IDSIGNOREPATHS BACKUPKERNEL BACKUPKERNELDIR BACKUPKERNELSYMBOLFILES |
|
|
97 |
HTTPPROXY" |
97 |
|
98 |
|
98 |
# Set all the configuration options to "". |
99 |
# Set all the configuration options to "". |
99 |
nullconfig () { |
100 |
nullconfig () { |
Lines 269-274
Link Here
|
269 |
fi |
270 |
fi |
270 |
} |
271 |
} |
271 |
|
272 |
|
|
|
273 |
# When fetching updates, we will use the HTTP proxy:port specified |
274 |
# in freebsd-update.conf or on the command line |
275 |
config_HttpProxy () { |
276 |
if [ -n "${HTTP_PROXY}${http_proxy}" ]; then |
277 |
echo "env proxy is set to \"${HTTP_PROXY}${http_proxy}\"" |
278 |
return 0 |
279 |
else [ -z ${HttpProxy} ]; then |
280 |
HTTP_PROXY=$1 |
281 |
export HTTP_PROXY=$1 |
282 |
fi |
283 |
} |
284 |
|
272 |
# When fetching upgrades, should we assume the user wants exactly the |
285 |
# When fetching upgrades, should we assume the user wants exactly the |
273 |
# components listed in COMPONENTS, rather than trying to guess based on |
286 |
# components listed in COMPONENTS, rather than trying to guess based on |
274 |
# what's currently installed? |
287 |
# what's currently installed? |
Lines 457-462
Link Here
|
457 |
if [ $# -eq 1 ]; then usage; fi; shift |
470 |
if [ $# -eq 1 ]; then usage; fi; shift |
458 |
config_ServerName $1 || usage |
471 |
config_ServerName $1 || usage |
459 |
;; |
472 |
;; |
|
|
473 |
-p) |
474 |
if [ $# -eq 1 ]; then usage; fi; shift |
475 |
config_HttpProxy $1 || usage |
476 |
;; |
460 |
-r) |
477 |
-r) |
461 |
if [ $# -eq 1 ]; then usage; fi; shift |
478 |
if [ $# -eq 1 ]; then usage; fi; shift |
462 |
config_TargetRelease $1 || usage |
479 |
config_TargetRelease $1 || usage |