summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2013-09-25 00:43:09 +0000
committererdgeist <>2013-09-25 00:43:09 +0000
commit9fc9d531257a3f8fbf7e69f1cf13ea963836ba8f (patch)
tree4fc9e29dc867820200087f07674c49bd63bafe82
parent33f283bf5e52c9e8a78d01659a1682d2d63d98d9 (diff)
Want to also find soft linked plugins, to support wildcard plugins
-rwxr-xr-xminimunin2
1 files changed, 1 insertions, 1 deletions
diff --git a/minimunin b/minimunin
index 6bdd1aa..778eabb 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 -not -name *_ -perm +111 -exec basename {} \; 2> /dev/null | /usr/bin/xargs` 10PLUGINS=`/usr/bin/find ${PLUGIN_DIR} -type l -or -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() {