Compare commits

..

No commits in common. "925ccfa9b8e0b1f903cb0458c91d158a74a1b2f6" and "8983e51896bcab6b5521efc8aacc6bad20798dd3" have entirely different histories.

2 changed files with 1 additions and 11 deletions

View File

@ -86,7 +86,6 @@ ____
> * tar
> * [Python 3](https://www.python.org/downloads/) (tested version 3.9.5 on [Debian GNU/Linux 11](http://ftp.debian.org/debian/dists/bullseye/))
> * existing [/usr/local/bin/sendmail.py](https://git.hmp.today/pavel.muhortov/utils#sendmail-py)
> * [curl](https://curl.se/download.html) (tested version 7.74.0 on [Debian GNU/Linux 11](http://ftp.debian.org/debian/dists/bullseye/))
| POSITION | PARAMETERS | DESCRIPTION | DEFAULT |
|-----------|--------------|------------------------|---------------|
@ -137,5 +136,5 @@ sudo ./ovpn del username -f
```bash
# check journal
tail -f /var/log/openvpn/ovpn-client-management.log
tail -f /var/log/openvpn/ovpn.log
```

View File

@ -410,15 +410,6 @@ logs=/dev/null
#
if checkroot; then
if ! command -v chpasswd &> /dev/null || \
! command -v /usr/sbin/openvpn &> /dev/null || \
! command -v /etc/openvpn/easy-rsa/easyrsa &> /dev/null || \
! command -v tar &> /dev/null || \
! command -v /usr/local/bin/sendmail.py &> /dev/null || \
! command -v python3 &> /dev/null || \
! command -v curl &> /dev/null; then
execerror "Not found dependencies"
fi
getconfig
if [ "${clienttodo}" == "add" ] && \
[ -n "${clientname}" ] && \