From 5534d9a3cb739d20b202f92b755e66a0c5a3a56b Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 23 Jun 2014 18:25:55 +0200 Subject: [PATCH] Fix plugin path on x86_64 --- root/etc/e-smith/templates/etc/openvpn/routed/openvpn.conf/40auth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/templates/etc/openvpn/routed/openvpn.conf/40auth b/root/etc/e-smith/templates/etc/openvpn/routed/openvpn.conf/40auth index 03f38e1..d0fe66e 100644 --- a/root/etc/e-smith/templates/etc/openvpn/routed/openvpn.conf/40auth +++ b/root/etc/e-smith/templates/etc/openvpn/routed/openvpn.conf/40auth @@ -1,8 +1,8 @@ { my $userAuth = ${'openvpn-routed'}{Authentication} || 'CrtWithPass'; if ($userAuth eq 'CrtWithPass'){ - my $plugin_dir = (-d "/usr/share/openvpn/plugin/lib") ? - '/usr/share/openvpn/plugin/lib':'/usr/lib/openvpn/plugin/lib'; + my $plugin_dir = (-d "/usr/lib64/openvpn/plugin/lib") ? + '/usr/lib64/openvpn/plugin/lib':'/usr/lib/openvpn/plugin/lib'; $OUT .= "plugin ".$plugin_dir."/openvpn-auth-pam.so login\n"; } $OUT .= '';