mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-02 22:28:24 +00:00
Clarify the non-declared env variables
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
This commit is contained in:
parent
44d57dcb7f
commit
e541294f9f
2 changed files with 8 additions and 0 deletions
|
@ -31,6 +31,9 @@ Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
|
|||
MIT
|
||||
=cut
|
||||
|
||||
syncthing_relaysrv_host=${syncthing_relaysrv_host:-}
|
||||
syncthing_relaysrv_port=${syncthing_relaysrv_port:-}
|
||||
|
||||
getstatus() {
|
||||
"$CURL" -s "http://$syncthing_relaysrv_host:$syncthing_relaysrv_port/status"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue