mirror of
https://github.com/pivpn/pivpn.git
synced 2025-01-19 02:54: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 {
|
function debugFunc {
|
||||||
noUFW=$(cat /etc/pivpn/noUFW)
|
noUFW=$(cat /etc/pivpn/NO_UFW)
|
||||||
echo "::: Generating Debug Output"
|
echo "::: Generating Debug Output"
|
||||||
$SUDO . /opt/pivpn/pivpnDebug.sh | tee /tmp/debug.txt
|
$SUDO . /opt/pivpn/pivpnDebug.sh | tee /tmp/debug.txt
|
||||||
echo "::: "
|
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
|
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"
|
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
|
for filename in /etc/pivpn/*; do
|
||||||
|
if [[ "${filename}" != "/etc/pivpn/install.log" ]]; then
|
||||||
echo ":: START $filename ::"
|
echo ":: START $filename ::"
|
||||||
cat "$filename"
|
cat "$filename"
|
||||||
echo ":: END $filename ::"
|
echo ":: END $filename ::"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
printf ":::\t\t\t\t\t:::\n:: /etc/openvpn/easy-rsa/pki/Default.txt ::\n:::\t\t\t\t\t:::\n"
|
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
|
cat /etc/openvpn/easy-rsa/pki/Default.txt
|
||||||
|
|
Loading…
Reference in a new issue