mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +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:
parent
dd94da3bd5
commit
92db831bc3
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue