Adding new options for defining upload options and server

This commit is contained in:
mboelen 2015-02-03 18:28:03 +01:00
parent b829844cd8
commit e3206dd343
1 changed files with 10 additions and 0 deletions

View File

@ -147,6 +147,16 @@
if [ "${VALUE}" = "full" ]; then SCAN_TEST_LIGHT="YES"; SCAN_TEST_MEDIUM="YES"; SCAN_TEST_HEAVY="YES"; fi
;;
# Options during upload of data
upload_options)
UPLOAD_OPTIONS="${VALUE}"
;;
# Receiving system (IP address or hostname)
upload_server)
UPLOAD_SERVER="${VALUE}"
;;
# Catch all bad options and bail out
*)
logtext "Unknown option ${OPTION} (with value: ${VALUE})"