From 45b134f897572318f182aa5faa348c5bd39fa7ae Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Tue, 4 Dec 2012 01:12:15 +0000 Subject: ftpupload: decouple ftpupload from modbuslog Allow ftpupload to be used as an independent program. This enables it to be used by both modbuslog and phidgetcontrol. The ftp stanza in /etc/modbuslog has been split out into a separate ftpupload configuration file located at /etc/ftpupload. ftpupload now reads the $UPLOADTYPE variable to determine which type of upload to execute. If $UPLOADTYPE has not been set, ftpupload will default to modbuslog. --- src/modbuslog_wsgps.cfg | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/modbuslog_wsgps.cfg') diff --git a/src/modbuslog_wsgps.cfg b/src/modbuslog_wsgps.cfg index 0dbf5a4..2022da4 100644 --- a/src/modbuslog_wsgps.cfg +++ b/src/modbuslog_wsgps.cfg @@ -11,13 +11,6 @@ modbus = { retry = 2; }; -ftp = { - server = "ftp.verteco.ie"; - username = "loggerdevice"; - password = "securepassword"; - directory = "."; -}; - reading= ( { -- cgit v1.2.3