From cbf96e156ff4162fa6e20b757eb98f21720ef1fa Mon Sep 17 00:00:00 2001 From: mboelen Date: Fri, 5 Dec 2014 12:28:44 +0100 Subject: [PATCH] Allow Lynis Enterprise users to provide an URL to upload to --- include/parameters | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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}"