Added ISSUE_TEMPLATE.md, wrote debug script (#115)

This commit is contained in:
redfast00 2016-10-24 19:28:08 +02:00 committed by GitHub
parent d900efe49b
commit 516b93ee43
2 changed files with 36 additions and 1 deletions

View file

@ -1,2 +1,17 @@
#!/usr/bin/env bash
echo "::: This feature is not yet implemented... stay tuned!"
# This scripts runs as root
echo ":: PiVPN Debug ::"
echo ":: Latest commit ::"
git --git-dir /etc/.pivpn/.git log -n 1
echo ":: list of files in /etc/openvpn/easy-rsa/keys ::"
ls /etc/openvpn/easy-rsa/keys/
echo ":: /etc/pivpn/* ::"
for filename in /etc/pivpn/*; do
echo ":: START $filename ::"
cat "$filename"
echo ":: END $filename ::"
done
echo ":: /etc/openvpn/easy-rsa/keys/Default.txt ::"
cat /etc/openvpn/easy-rsa/keys/Default.txt
echo ":: done ::"