summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2013-09-22 04:41:13 +0000
committererdgeist <>2013-09-22 04:41:13 +0000
commit33f283bf5e52c9e8a78d01659a1682d2d63d98d9 (patch)
tree2dcf401f5aaec426d53123c3e3816656afc633cd
parent0c1c12db7d84a15f5af60244fd92943b36b523f6 (diff)
Ignore non-linked wildcard plugins
-rwxr-xr-xminimunin2
1 files changed, 1 insertions, 1 deletions
diff --git a/minimunin b/minimunin
index 198d518..6bdd1aa 100755
--- a/minimunin
+++ b/minimunin
@@ -7,7 +7,7 @@ SYSCTL=/sbin/sysctl
7[ -f ${SYSCTL} ] || SYSCTL=/usr/sbin/sysctl 7[ -f ${SYSCTL} ] || SYSCTL=/usr/sbin/sysctl
8 8
9# list plugins, read configs 9# list plugins, read configs
10PLUGINS=`/usr/bin/find ${PLUGIN_DIR} -type f -perm +111 -exec basename {} \; 2> /dev/null | /usr/bin/xargs` 10PLUGINS=`/usr/bin/find ${PLUGIN_DIR} -type f -not -name *_ -perm +111 -exec basename {} \; 2> /dev/null | /usr/bin/xargs`
11CONFIGS=`/usr/bin/find ${CONFIG_DIR} -type f -exec /usr/bin/grep -v -e ^\# -e ^$ {} \; -exec /bin/echo [] \; 2> /dev/null` 11CONFIGS=`/usr/bin/find ${CONFIG_DIR} -type f -exec /usr/bin/grep -v -e ^\# -e ^$ {} \; -exec /bin/echo [] \; 2> /dev/null`
12 12
13main() { 13main() {