mirror of
https://github.com/pivpn/pivpn.git
synced 2025-01-18 18:44:29 +00:00
Fix new additions
This commit is contained in:
parent
371f339fed
commit
d1ad3ec057
2 changed files with 6 additions and 4 deletions
2
pivpn
2
pivpn
|
@ -27,7 +27,7 @@ function listOVPNFunc {
|
|||
}
|
||||
|
||||
function debugFunc {
|
||||
noUFW=$(cat /etc/pivpn/noUFW)
|
||||
noUFW=$(cat /etc/pivpn/NO_UFW)
|
||||
echo "::: Generating Debug Output"
|
||||
$SUDO . /opt/pivpn/pivpnDebug.sh | tee /tmp/debug.txt
|
||||
echo "::: "
|
||||
|
|
|
@ -8,9 +8,11 @@ printf "::\t/etc/openvpn/easy-rsa/pki\t ::\n:::\t\t\t\t\t:::\n"
|
|||
ls -LR /etc/openvpn/easy-rsa/pki/ -Ireqs -Icerts_by_serial
|
||||
printf ":::\t\t\t\t\t:::\n::\tOutput of /etc/pivpn/*\t\t ::\n:::\t\t\t\t\t:::\n"
|
||||
for filename in /etc/pivpn/*; do
|
||||
echo ":: START $filename ::"
|
||||
cat "$filename"
|
||||
echo ":: END $filename ::"
|
||||
if [[ "${filename}" != "/etc/pivpn/install.log" ]]; then
|
||||
echo ":: START $filename ::"
|
||||
cat "$filename"
|
||||
echo ":: END $filename ::"
|
||||
fi
|
||||
done
|
||||
printf ":::\t\t\t\t\t:::\n:: /etc/openvpn/easy-rsa/pki/Default.txt ::\n:::\t\t\t\t\t:::\n"
|
||||
cat /etc/openvpn/easy-rsa/pki/Default.txt
|
||||
|
|
Loading…
Reference in a new issue