mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
dump easyrsa output to /dev/null
This commit is contained in:
parent
5c26782925
commit
0fb22bd15f
1 changed files with 7 additions and 1 deletions
|
@ -8,7 +8,13 @@ if [ ! -f "${INDEX}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/etc/openvpn/easy-rsa/easyrsa update-db >> /var/log/easyrsa_update-db.log 2>1
|
EASYRSA="/etc/openvpn/easy-rsa/easyrsa"
|
||||||
|
if [ ! -f "${EASYRSA}" ]; then
|
||||||
|
echo "The file: $EASYRSA was not found!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
$EASYRSA update-db >> /dev/null 2>1
|
||||||
|
|
||||||
printf ": NOTE : The first entry should always be your valid server!\n"
|
printf ": NOTE : The first entry should always be your valid server!\n"
|
||||||
printf "\\n"
|
printf "\\n"
|
||||||
|
|
Loading…
Reference in a new issue