mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
Change option name so it is presented anew, default disabled. + Add openvpn-client wrapper script and up/down scripts to trigger resolvconf, with minor edits. [2] + Set proper PLUGIN_LIBDIR so that plugins in the default directory can be found with relative paths. + Compile shipped plugins with -fPIC. PR: 195004 [1] PR: 199529 [2] Submitted by: yuri@rawbw.com [2] Obtained from: https://community.openvpn.net/openvpn/ticket/480#comment:21
6 lines
210 B
Bash
6 lines
210 B
Bash
#!/bin/sh
|
|
|
|
exec %%PREFIX%%/sbin/openvpn --script-security 2 \
|
|
--up %%PREFIX%%/libexec/openvpn-client.up \
|
|
--plugin openvpn-plugin-down-root.so %%PREFIX%%/libexec/openvpn-client.down \
|
|
--config "$@"
|