Fix pivpnDebug after easy-rsa3 changes

This commit is contained in:
Kaladin Light 2016-12-08 09:53:23 -05:00
parent 794897eb28
commit 9b937d0e6b

View file

@ -4,14 +4,14 @@
echo ":: PiVPN Debug ::" echo ":: PiVPN Debug ::"
echo ":: Latest commit ::" echo ":: Latest commit ::"
git --git-dir /etc/.pivpn/.git log -n 1 git --git-dir /etc/.pivpn/.git log -n 1
echo ":: list of files in /etc/openvpn/easy-rsa/keys ::" echo ":: Recursive list of files in /etc/openvpn/easy-rsa/pki ::"
ls /etc/openvpn/easy-rsa/keys/ ls -LR /etc/openvpn/easy-rsa/pki/ -Ireqs -Icerts_by_serial
echo ":: /etc/pivpn/* ::" echo ":: /etc/pivpn/* ::"
for filename in /etc/pivpn/*; do for filename in /etc/pivpn/*; do
echo ":: START $filename ::" echo ":: START $filename ::"
cat "$filename" cat "$filename"
echo ":: END $filename ::" echo ":: END $filename ::"
done done
echo ":: /etc/openvpn/easy-rsa/keys/Default.txt ::" echo ":: /etc/openvpn/easy-rsa/pki/Default.txt ::"
cat /etc/openvpn/easy-rsa/keys/Default.txt cat /etc/openvpn/easy-rsa/pki/Default.txt
echo ":: done ::" echo ":: done ::"