From 28f238bc435ecbc9007dc598ebe61d9d6b0e9c23 Mon Sep 17 00:00:00 2001 From: Nyr Date: Fri, 31 Mar 2017 13:52:08 +0200 Subject: [PATCH] Fix #284 --- openvpn-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 02274dd..7e33157 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -20,7 +20,8 @@ if [[ "$EUID" -ne 0 ]]; then fi if [[ ! -e /dev/net/tun ]]; then - echo "TUN is not available" + echo "The TUN device is not available +You need to enable TUN before running this script" exit 3 fi @@ -37,7 +38,7 @@ elif [[ -e /etc/centos-release || -e /etc/redhat-release ]]; then GROUPNAME=nobody RCLOCAL='/etc/rc.d/rc.local' else - echo "Looks like you aren't running this installer on a Debian, Ubuntu or CentOS system" + echo "Looks like you aren't running this installer on Debian, Ubuntu or CentOS" exit 5 fi