diff options
| -rwxr-xr-x | minimunin | 7 |
1 files changed, 0 insertions, 7 deletions
| @@ -322,13 +322,6 @@ call_plugin() { | |||
| 322 | _plug=`/usr/bin/find ${PLUGIN_DIR} -type f -perm +111 -name $1 2>/dev/null | /usr/bin/head -n 1` | 322 | _plug=`/usr/bin/find ${PLUGIN_DIR} -type f -perm +111 -name $1 2>/dev/null | /usr/bin/head -n 1` |
| 323 | [ -z "${_plug}" ] && return 1 | 323 | [ -z "${_plug}" ] && return 1 |
| 324 | 324 | ||
| 325 | printf "%s\n" "${CONFIGS}" | while read line; do | ||
| 326 | case line in | ||
| 327 | \[*\]) start_section;; | ||
| 328 | *) in_section;; | ||
| 329 | esac | ||
| 330 | done | ||
| 331 | |||
| 332 | _env=$( printf "%s\n" "${CONFIGS}" | env_for_plugin_from_config ${_plug} ) | 325 | _env=$( printf "%s\n" "${CONFIGS}" | env_for_plugin_from_config ${_plug} ) |
| 333 | eval env ${_env} ${_plug} ${_param} | 326 | eval env ${_env} ${_plug} ${_param} |
| 334 | return $? | 327 | return $? |
