Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
12
plugins/inputs/execd/examples/count.sh
Normal file
12
plugins/inputs/execd/examples/count.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
## Example in bash using STDIN signaling
|
||||
|
||||
counter=0
|
||||
|
||||
while read -r _; do
|
||||
echo "counter_bash count=${counter}"
|
||||
counter=$((counter+1))
|
||||
done
|
||||
|
||||
trap "echo terminate 1>&2" EXIT
|
Loading…
Add table
Add a link
Reference in a new issue