diff --git a/network/openvpn/openvpn.conf b/network/openvpn/openvpn.conf index 6c367c635..b43903cca 100644 --- a/network/openvpn/openvpn.conf +++ b/network/openvpn/openvpn.conf @@ -12,29 +12,6 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -plugin_libdir="${libdir}/openvpn" - -plugins_enabled='' - -build_plugin() { - local plugin=$1; shift - - echo "Building openvpn plugin $plugin..." - cd plugin/$plugin - - eval $MAKE $makeopt - cp *.so ${root}${plugin_libdir} - - cd ../.. -} - -build_plugins() { - install -d ${root}${plugin_libdir} - for plugin in $plugins_enabled; do - build_plugin $plugin - done -} - # allow passwords to be read from a file var_append confopt ' ' "--enable-password-save" @@ -56,9 +33,3 @@ fi if ! pkginstalled -f pam; then var_append extraconfopt ' ' "--disable-plugin-auth-pam" fi - -# build plugins when $plugins_enabled is not empty -if [ ! -z "$plugins_enabled" ]; then - echo_warning "Enabling OpenVPN plugins: $plugins_enabled" - hook_add postmake 3 build_plugins -fi