mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
using bash instead of ksh. it should be quite compatible. better would be a proper port to sh (or better, perl)
This commit is contained in:
parent
219b679f5c
commit
dec087a5ce
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/ksh
|
||||
#!/bin/bash
|
||||
# -*- sh -*-
|
||||
|
||||
: << =cut
|
||||
|
@ -92,4 +92,4 @@ awk 'BEGIN{ FS="[ = ]" }
|
|||
/-count / { nwhat = split($1, what, ".")
|
||||
gsub(/-count/, "", what[nwhat])
|
||||
print what[nwhat] ".value=" $NF}
|
||||
'
|
||||
'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue