From: Tobias Brunner Date: Wed, 22 Jan 2014 14:29:45 +0000 (+0100) Subject: plugin-loader: Optionally use load option in each plugin section to load plugins X-Git-Tag: 5.1.2rc1~7^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190a27885435f683ecd8e1d0240559ae10229a44;p=thirdparty%2Fstrongswan.git plugin-loader: Optionally use load option in each plugin section to load plugins This now works because all plugins use the same config namespace. If .load_modular is true, the list of plugins to load is determined via the value of the .plugins..load options. Using includes the following is possible: charon { load_modular = yes plugins { include strongswan.d/charon/*.conf } } charon-cmd { load_modular = yes plugins { include strongswan.d/charon-cmd/*.conf } } Where each .conf file would contain something like: { load = yes