diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-12-04 01:12:15 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-12-04 01:29:32 +0000 |
commit | 45b134f897572318f182aa5faa348c5bd39fa7ae (patch) | |
tree | 1dec0092e27d994750b39b809e88182515e4e705 /cron/phidgetcontrol | |
parent | 9083b82a25bdb9c25e7da0cfb4ebe515186c71e1 (diff) | |
download | verteco-45b134f897572318f182aa5faa348c5bd39fa7ae.tar.gz |
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.
Diffstat (limited to '')
-rw-r--r-- | cron/phidgetcontrol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron/phidgetcontrol b/cron/phidgetcontrol index 7a6438b..32de0a8 100644 --- a/cron/phidgetcontrol +++ b/cron/phidgetcontrol @@ -3,4 +3,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command @reboot root /usr/sbin/phidgetcontrol -10 0 * * * root /usr/bin/ftpupload +10 0 * * * root UPLOADTYPE=phidgetcontrol /usr/bin/ftpupload |