mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
Update openvpn-install.sh
This commit is contained in:
parent
4f737ac2f8
commit
bdc931ff78
@ -73,7 +73,7 @@ if [[ "$EUID" -ne 0 ]]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -e /dev/net/tun ]] || ! ( exec 7<>/dev/net/tun ) 2>/dev/null; then
|
if [[ ! -e /dev/tun ]] || ! ( exec 7<>/dev/net/tun ) 2>/dev/null; then
|
||||||
echo "The system does not have the TUN device available.
|
echo "The system does not have the TUN device available.
|
||||||
TUN needs to be enabled before running this installer."
|
TUN needs to be enabled before running this installer."
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user