Fix hardcoded rp-pppoe.so location - thanks to Nestor
This commit is contained in:
7
root/etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0/20LINUX_PLUGIN
Executable file → Normal file
7
root/etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0/20LINUX_PLUGIN
Executable file → Normal file
@@ -1 +1,6 @@
|
||||
LINUX_PLUGIN=/usr/lib64/pppd/2.4.5/rp-pppoe.so
|
||||
{
|
||||
# Find Roaring Penguin pppoe plugin
|
||||
my ($plugin) = glob "/usr/lib*/pppd/*/rp-pppoe.so";
|
||||
$plugin ||= "pppoe_plugin_could_not_be_found";
|
||||
$OUT .= "LINUX_PLUGIN=$plugin\n";
|
||||
}
|
@@ -1 +1,6 @@
|
||||
plugin /usr/lib64/pppd/2.4.5/rp-pppoe.so
|
||||
{
|
||||
# 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";
|
||||
}
|
Reference in New Issue
Block a user