1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

[network/upnpc_] don't let the shell expand ${graph_period}

Also, update license and add SPDX identifier

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
Olivier Mehani 2019-04-14 11:44:09 +10:00
parent dd94da3bd5
commit 92db831bc3
No known key found for this signature in database
GPG key ID: 6F82C3C767D655AA

View file

@ -28,7 +28,7 @@ Olivier Mehani <shtrom+munin@ssji.net>
=head1 LICENSE =head1 LICENSE
GPLv2 SPDX-License-Identifier: GPL-2.0-or-later
=head1 MAGIC MARKERS =head1 MAGIC MARKERS
@ -81,7 +81,8 @@ up.negative down
EOF EOF
;; ;;
"traffic") "traffic")
cat << EOF # ${graph_period} is not a shell variable
cat << 'EOF'
graph_title Uplink traffic graph_title Uplink traffic
graph_args --base 1024 -l 0 graph_args --base 1024 -l 0
graph_category network graph_category network
@ -97,7 +98,8 @@ up.negative down
EOF EOF
;; ;;
"pkts") "pkts")
cat << EOF # ${graph_period} is not a shell variable
cat << 'EOF'
graph_title Uplink packets graph_title Uplink packets
graph_args --base 1000 -l 0 graph_args --base 1000 -l 0
graph_category network graph_category network