Back to Alpine Linux using packaged version of google-authenticator

This commit is contained in:
Fabio Napoleoni
2016-02-11 18:10:51 +01:00
parent ba7b925a9f
commit d481313311
2 changed files with 9 additions and 11 deletions

View File

@ -241,7 +241,7 @@ done
# Optional OTP authentication support
if [ -n "$OVPN_OTP_AUTH" ]; then
echo -e "\n\n# Enable OTP+PAM for user authentication" >> "$conf"
echo "plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so openvpn" >> "$conf"
echo "plugin /usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so openvpn" >> "$conf"
fi
set +e