From 190a27885435f683ecd8e1d0240559ae10229a44 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 22 Jan 2014 15:29:45 +0100 Subject: [PATCH] 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