jotyGill / openpyn-nordvpn

Easily connect to and switch between, OpenVPN servers hosted by NordVPN on Linux (+patch leakes)
GNU General Public License v3.0
628 stars 114 forks source link

Add /usr/sbin in $PATH for update-systemd-resolved.sh script #239

Closed jcapiitao closed 5 years ago

jcapiitao commented 5 years ago

Hi,

In fedora 30, ip binary is in /usr/sbin directory. So I just added /usr/sbin in $PATH. This way, openvpn is able to execute the command in update-systemd-resolved.sh.

Also, this issue has been faced in #231, but not fixed upstream.

jotyGill commented 5 years ago

Hi, Thanks for the pull. I really should clarify somewhere that I do all the development in the "test" branch. I'll add this for now. I am going to add more general way of dealing with such path issues on any distros. I'll add this first as this is your contribution :)