Added ability to temporarily disable via lockfile
Added ability to temporarily disable via lockfile

--- a/client-side/config
+++ b/client-side/config
@@ -2,6 +2,10 @@
 # Configuration file for the Client-Side haystack script
 #
 #
+
+
+# To disable the script temporarily, simply create a file at the location below
+LOCKFILE='/tmp/haystackfile.lock'
 
 # Endpoint configuration
 REMOTE_FILE='http://www.example.com/largefile'

--- a/client-side/request_generator.sh
+++ b/client-side/request_generator.sh
@@ -8,6 +8,9 @@
 # Load the config
 
 source "$mydir/config"
+
+
+[[ -f "$LOCKFILE" ]] && exit;
 
 
 # Function to place the request - may do more later