Browse Source

nginx: changed to add third party addons in prepatch hook instead of preconf

user/amery/next/luajit
Christian Wiese 13 years ago committed by Christian Wiese
parent
commit
46b76c8176
  1. 6
      network/nginx/nginx.conf

6
network/nginx/nginx.conf

@ -99,13 +99,13 @@ pkg_nginx_add_module() {
# rrd graph module
if [ "$SDECFG_PKG_NGINX_ADDON_MOD_RRDGRAPH" == 1 ] ; then
pkgprefix -t rrdtool
hook_add preconf 5 "pkg_nginx_add_module mod_rrd_graph"
hook_add prepatch 5 "pkg_nginx_add_module mod_rrd_graph"
fi
if [ "$SDECFG_PKG_NGINX_ADDON_MOD_UPLOAD" == 1 ] ; then
hook_add preconf 5 "pkg_nginx_add_module nginx_upload_module"
hook_add prepatch 5 "pkg_nginx_add_module nginx_upload_module"
fi
if [ "$SDECFG_PKG_NGINX_ADDON_MOD_HTTPECHO" == 1 ] ; then
hook_add preconf 5 "pkg_nginx_add_module echo-nginx-module"
hook_add prepatch 5 "pkg_nginx_add_module echo-nginx-module"
fi

Loading…
Cancel
Save