diff options
author | erdgeist <> | 2013-09-22 04:41:13 +0000 |
---|---|---|
committer | erdgeist <> | 2013-09-22 04:41:13 +0000 |
commit | 33f283bf5e52c9e8a78d01659a1682d2d63d98d9 (patch) | |
tree | 2dcf401f5aaec426d53123c3e3816656afc633cd | |
parent | 0c1c12db7d84a15f5af60244fd92943b36b523f6 (diff) |
Ignore non-linked wildcard plugins
-rwxr-xr-x | minimunin | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
10 | PLUGINS=`/usr/bin/find ${PLUGIN_DIR} -type f -perm +111 -exec basename {} \; 2> /dev/null | /usr/bin/xargs` | 10 | PLUGINS=`/usr/bin/find ${PLUGIN_DIR} -type f -not -name *_ -perm +111 -exec basename {} \; 2> /dev/null | /usr/bin/xargs` |
11 | CONFIGS=`/usr/bin/find ${CONFIG_DIR} -type f -exec /usr/bin/grep -v -e ^\# -e ^$ {} \; -exec /bin/echo [] \; 2> /dev/null` | 11 | CONFIGS=`/usr/bin/find ${CONFIG_DIR} -type f -exec /usr/bin/grep -v -e ^\# -e ^$ {} \; -exec /bin/echo [] \; 2> /dev/null` |
12 | 12 | ||
13 | main() { | 13 | main() { |