mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-24 13:50:16 +00:00
17 lines
490 B
Bash
17 lines
490 B
Bash
#!/usr/bin/env bash
|
|
|
|
# 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 ::"
|