diff --git a/include/profiles b/include/profiles index a077a4be..96419acd 100644 --- a/include/profiles +++ b/include/profiles @@ -351,43 +351,7 @@ AddSetting "test-scan-mode" "${VALUE}" "Scan mode" ;; - # Server IP or hostname - update_server_address) - UPDATE_SERVER_ADDRESS="${VALUE}" - AddSetting "update-server-address" "${UPDATE_SERVER_ADDRESS}" "Update server (address)" - ;; - - # Protocol (http, https) - update_server_protocol) - UPDATE_SERVER_PROTOCOL="${VALUE}" - AddSetting "update-server-protocol" "${UPDATE_SERVER_PROTOCOL}" "Update server (protocol)" - ;; - - # File path to tarball on server - update_latest_version_download) - UPDATE_LATEST_VERSION_DOWNLOAD="${VALUE}" - AddSetting "update-latest-version-download" "${UPDATE_LATEST_VERSION_DOWNLOAD}" "Update information: file path to latest update" - ;; - - # File path to information file - update_latest_version_info) - UPDATE_LATEST_VERSION_INFO="${VALUE}" - AddSetting "update-latest-version-info" "${UPDATE_LATEST_VERSION_INFO}" "Update information: file path to information file" - ;; - - # Local directory where lynis directory will be placed - update_local_directory) - UPDATE_LOCAL_DIRECTORY="${VALUE}" - AddSetting "update-local-directory" "${UPDATE_LOCAL_DIRECTORY}" "Update information: local directory for updates" - ;; - - # Local file to maintain current version - update_local_version_info) - UPDATE_LOCAL_VERSION_INFO="${VALUE}" - AddSetting "update-local-version-info" "${UPDATE_LOCAL_VERSION_INFO}" "Update information: local file for latest release" - ;; - - # Colored output + # Perform upload upload) SETTING_UPLOAD=no # default FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && UPLOAD_DATA=1