SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.45k stars 308 forks source link

Allow cli parameters to be given #483

Closed kullmanp closed 2 years ago

kullmanp commented 2 years ago

It's useful to give command line parameters to influxdb like this:

.templates/influxdb/terminal.sh -precision rfc3339

This change just gives parameters on to the influx command.

ukkopahis commented 2 years ago

Should use "$@" to actually pass all parameters quoted the same as originally:

https://stackoverflow.com/questions/4824590/propagate-all-arguments-in-a-bash-shell-script/4824637#4824637

Might not be a problem in actual use-cases.