- improve pppoe plugin patch [SME: 13074] - handle both EC and RSA key/cert with esmith::ssl [SME: 11772]
12 lines
318 B
Plaintext
12 lines
318 B
Plaintext
{
|
|
$OUT = "";
|
|
my $inkernel = "yes"; #$pppoe{InKernel} || "yes"; # we force inkernel for performance
|
|
if ($inkernel eq "yes")
|
|
{
|
|
# Find Roaring Penguin pppoe plugin
|
|
my ($plugin) = glob "/usr/lib*/pppd/*/rp-pppoe.so";
|
|
$plugin ||= "pppoe_plugin_could_not_be_found";
|
|
$OUT .= "plugin $plugin\n";
|
|
}
|
|
}
|