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:
authormboelen <michael@cisofy.com>2014-12-05 14:28:44 +0300
committermboelen <michael@cisofy.com>2014-12-05 14:28:44 +0300
commitcbf96e156ff4162fa6e20b757eb98f21720ef1fa (patch)
tree51f3ee9258419efa3eb2662833c739b41f052bf9 /include/parameters
parent841c99cc30f2003eb986a0d240f31a7625a374e5 (diff)
Allow Lynis Enterprise users to provide an URL to upload to
Diffstat (limited to 'include/parameters')
-rw-r--r--include/parameters9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/parameters b/include/parameters
index 2c68a23c..70b2608b 100644
--- a/include/parameters
+++ b/include/parameters
@@ -161,8 +161,15 @@
# Lynis Enterprise: upload data to central node
--upload)
- UPLOAD_DATA=1
+ UPLOAD_DATA=1
;;
+
+ # Which server to upload to
+ --upload-url)
+ shift
+ UPLOAD_URL=$1
+ ;;
+
# Version number
-V | --version)
echo "${PROGRAM_version}"