mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 18:07:20 +00:00
initial tree
This commit is contained in:
parent
0cde2ae787
commit
209937078b
15 changed files with 737 additions and 0 deletions
14
tools/munin-plugins-busybox/common.c
Normal file
14
tools/munin-plugins-busybox/common.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int writeyes(void) {
|
||||
puts("yes");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int writeno(const char *s) {
|
||||
if(s)
|
||||
printf("no (%s)\n", s);
|
||||
else
|
||||
puts("no");
|
||||
return 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue