From 7b21a0a9d6f2655f820f2d930c2532f9eb7e9dc3 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sun, 29 Sep 2013 03:49:51 +0000 Subject: a simple test plugin to see if the config file parser works. --- test/minimunin-configs | 4 ++++ test/minimunin-plugins/test | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 test/minimunin-configs create mode 100755 test/minimunin-plugins/test diff --git a/test/minimunin-configs b/test/minimunin-configs new file mode 100644 index 0000000..a3bd279 --- /dev/null +++ b/test/minimunin-configs @@ -0,0 +1,4 @@ +[test] +env.hallo jenau +command /usr/local/etc/minimunin-plugins/test +user nobody diff --git a/test/minimunin-plugins/test b/test/minimunin-plugins/test new file mode 100755 index 0000000..dbc13c4 --- /dev/null +++ b/test/minimunin-plugins/test @@ -0,0 +1,7 @@ +#!/bin/sh + +case $1 in +config) echo empty;; +*) id; env;; +esac + -- cgit v1.2.3