Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2018-01-23 16:37:02 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-01-23 16:37:02 +0300
commit18bd61ebec16212d1e41885afa70ed625ecdcd2a (patch)
tree376068210962751a376e64de4cd9f4cb5b44180a /include/profiles
parent85c83102df4ad02dcebcab1e678efd07dabf928b (diff)
Deprecate internal updater options
Diffstat (limited to 'include/profiles')
-rw-r--r--include/profiles38
1 files changed, 1 insertions, 37 deletions
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